[FFmpeg-cvslog] r11480 - trunk/ffmpeg.c

andoma subversion
Wed Jan 9 07:22:33 CET 2008


Author: andoma
Date: Wed Jan  9 07:22:32 2008
New Revision: 11480

Log:
Correctly use output format stream index for bitstream filter when doing stream copy.



Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Wed Jan  9 07:22:32 2008
@@ -1266,7 +1266,7 @@ static int output_packet(AVInputStream *
                         if(av_parser_change(ist->st->parser, ost->st->codec, &opkt.data, &opkt.size, data_buf, data_size, pkt->flags & PKT_FLAG_KEY))
                             opkt.destruct= av_destruct_packet;
 
-                        write_frame(os, &opkt, ost->st->codec, bitstream_filters[ost->file_index][pkt->stream_index]);
+                        write_frame(os, &opkt, ost->st->codec, bitstream_filters[ost->file_index][opkt.stream_index]);
                         ost->st->codec->frame_number++;
                         ost->frame_number++;
                         av_free_packet(&opkt);




More information about the ffmpeg-cvslog mailing list