[FFmpeg-cvslog] r10962 - trunk/libavformat/rmdec.c
benoit
subversion
Thu Nov 8 16:09:37 CET 2007
Author: benoit
Date: Thu Nov 8 16:09:37 2007
New Revision: 10962
Log:
Change a stream indexer.
Patch by Ronald S. Bultje: rsbultje gmail com
Modified:
trunk/libavformat/rmdec.c
Modified: trunk/libavformat/rmdec.c
==============================================================================
--- trunk/libavformat/rmdec.c (original)
+++ trunk/libavformat/rmdec.c Thu Nov 8 16:09:37 2007
@@ -655,7 +655,7 @@ static int rm_read_packet(AVFormatContex
}
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) {
More information about the ffmpeg-cvslog
mailing list