1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

fixes the frame number counter for -vcodec copy patch by (mru at users dot sourceforge.net (Måns Rullgård))

Originally committed as revision 1176 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård
2002-11-08 20:33:46 +00:00
committed by Michael Niedermayer
parent d7425f59d5
commit 9ce2f2b133

View File

@@ -1292,6 +1292,7 @@ static int av_encode(AVFormatContext **output_files,
/* 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++; ost->st->codec.frame_number++;
ost->frame_number++;
} }
} }
} }