summaryrefslogtreecommitdiff
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2007-11-08 15:09:37 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2007-11-08 15:09:37 +0000
commit66911b15527c3a8c375259abeea9e41b9112b88e (patch)
tree19cf98880849f1e512a51753a173d84aed84c19d /libavformat/rmdec.c
parentafd302fa62918313184ef0e0e829fca766249fc8 (diff)
Change a stream indexer.
Patch by Ronald S. Bultje: rsbultje gmail com Originally committed as revision 10962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c2
1 files changed, 1 insertions, 1 deletions
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) {