Commit db833747 authored by michael's avatar michael

Off by 1 bugfix for nb_frames_dup.

From ffmbc0.3


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20864 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8daaca09
......@@ -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);
}
......
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