From 66911b15527c3a8c375259abeea9e41b9112b88e Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 8 Nov 2007 15:09:37 +0000 Subject: [PATCH] Change a stream indexer. Patch by Ronald S. Bultje: rsbultje gmail com Originally committed as revision 10962 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rmdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 7e782aeaeb..2f64a9427a 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -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) {