-vcodec copy fix patch by (mru at users dot sourceforge dot net (Måns Rullgård))
authorMåns Rullgård <mans@mansr.com>
Wed, 30 Oct 2002 09:36:33 +0000 (09:36 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Oct 2002 09:36:33 +0000 (09:36 +0000)
Originally committed as revision 1114 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index d8c7d68a4107cd2fc4d8c8d847653fc058d240a8..46b4f0098aef19d1ca331d15863216b21fb9e4ff 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1290,6 +1290,7 @@ static int av_encode(AVFormatContext **output_files,
                         /* no reencoding needed : output the packet directly */
                         /* force the input stream PTS */
                         av_write_frame(os, ost->index, data_buf, data_size);
+                       ost->st->codec.frame_number++;
                     }
                 }
             }