Originally committed as revision 20864 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2009/12/14 21:37:24... | ... |
@@ -917,7 +917,7 @@ static void do_video_out(AVFormatContext *s, |
917 | 917 |
if (verbose>2) |
918 | 918 |
fprintf(stderr, "*** drop!\n"); |
919 | 919 |
}else if (nb_frames > 1) { |
920 |
- nb_frames_dup += nb_frames; |
|
920 |
+ nb_frames_dup += nb_frames - 1; |
|
921 | 921 |
if (verbose>2) |
922 | 922 |
fprintf(stderr, "*** %d dup!\n", nb_frames-1); |
923 | 923 |
} |