aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThilo Borgmann <thilo.borgmann@mail.de>2021-07-19 21:23:02 +0200
committerThilo Borgmann <thilo.borgmann@mail.de>2021-07-19 21:23:02 +0200
commit05c9f6f4ef818cf1e7fdef8e118c9497e58326af (patch)
treedbc5b082f6ef63535cc0eb94048c732828262a78
parentb67263e0e88ebb1001552190212159ff7e25cc07 (diff)
downloadffmpeg-05c9f6f4ef818cf1e7fdef8e118c9497e58326af.tar.gz
fftools/ffmpeg: Fix runlength for strncmp()
-rw-r--r--fftools/ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index a2dca146fe..40e8010096 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1349,7 +1349,7 @@ static void do_video_out(OutputFile *of,
&& !i) {
forced_keyframe = 1;
} else if ( ost->forced_keyframes
- && !strncmp(ost->forced_keyframes, "source_no_drop", 6)
+ && !strncmp(ost->forced_keyframes, "source_no_drop", 14)
&& !i) {
forced_keyframe = (in_picture->key_frame == 1) || ost->dropped_keyframe;
ost->dropped_keyframe = 0;