Change a stream indexer.

Patch by Ronald S. Bultje: rsbultje gmail com

Originally committed as revision 10962 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ronald S. Bultje 2007-11-08 15:09:37 +00:00 committed by Benoit Fouet
parent afd302fa62
commit 66911b1552
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt)
}
rm->audio_pkt_cnt--;
pkt->flags = 0;
pkt->stream_index = rm->audio_stream_num;
pkt->stream_index = st->index;
} else if (rm->old_format) {
st = s->streams[0];
if (st->codec->codec_id == CODEC_ID_RA_288) {