projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7debef3
)
Off by 1 bugfix for nb_frames_dup.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 14 Dec 2009 12:37:24 +0000
(12:37 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 14 Dec 2009 12:37:24 +0000
(12:37 +0000)
From ffmbc0.3
Originally committed as revision 20864 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
63aa053
..
9df99dd
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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);
}