From: Måns Rullgård Date: Wed, 30 Oct 2002 09:36:33 +0000 (+0000) Subject: -vcodec copy fix patch by (mru at users dot sourceforge dot net (Måns Rullgård)) X-Git-Tag: v0.5~17144 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2722d0a42d69bdb2461d37bad3b7ed6f7a6a51b;p=platform%2Fupstream%2Flibav.git -vcodec copy fix patch by (mru at users dot sourceforge dot net (Måns Rullgård)) Originally committed as revision 1114 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/ffmpeg.c b/ffmpeg.c index d8c7d68..46b4f00 100644 --- 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++; } } }