diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-12-14 12:37:24 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-12-14 12:37:24 +0000 |
commit | ed30e518e3efb288d934b86a1fa8269c8349abf5 (patch) | |
tree | 98dbd9f4a47d60e65355fcf5f8503b1d7dbab5f6 | |
parent | 7debef33f8fb38ade91d88b2caceed41ebc60cbf (diff) | |
download | ffmpeg-ed30e518e3efb288d934b86a1fa8269c8349abf5.tar.gz |
Off by 1 bugfix for nb_frames_dup.
From ffmbc0.3
Originally committed as revision 20864 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -917,7 +917,7 @@ static void do_video_out(AVFormatContext *s, if (verbose>2) fprintf(stderr, "*** drop!\n"); }else if (nb_frames > 1) { - nb_frames_dup += nb_frames; + nb_frames_dup += nb_frames - 1; if (verbose>2) fprintf(stderr, "*** %d dup!\n", nb_frames-1); } |