Commit 2844c176 authored by michaelni's avatar michaelni

-vcodec copy fix patch by (mru at users dot sourceforge dot net (Måns Rullgård))


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1114 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 076758b8
...@@ -1290,6 +1290,7 @@ static int av_encode(AVFormatContext **output_files, ...@@ -1290,6 +1290,7 @@ static int av_encode(AVFormatContext **output_files,
/* no reencoding needed : output the packet directly */ /* no reencoding needed : output the packet directly */
/* force the input stream PTS */ /* force the input stream PTS */
av_write_frame(os, ost->index, data_buf, data_size); av_write_frame(os, ost->index, data_buf, data_size);
ost->st->codec.frame_number++;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment