diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2007-11-08 15:09:37 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-11-08 15:09:37 +0000 |
commit | 66911b15527c3a8c375259abeea9e41b9112b88e (patch) | |
tree | 19cf98880849f1e512a51753a173d84aed84c19d /libavformat/rmdec.c | |
parent | afd302fa62918313184ef0e0e829fca766249fc8 (diff) | |
download | ffmpeg-streaming-66911b15527c3a8c375259abeea9e41b9112b88e.zip ffmpeg-streaming-66911b15527c3a8c375259abeea9e41b9112b88e.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 7e782ae..2f64a94 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) { |