diff options
author | Thilo Borgmann <thilo.borgmann@mail.de> | 2021-07-19 21:23:02 +0200 |
---|---|---|
committer | Thilo Borgmann <thilo.borgmann@mail.de> | 2021-07-19 21:23:02 +0200 |
commit | 05c9f6f4ef818cf1e7fdef8e118c9497e58326af (patch) | |
tree | dbc5b082f6ef63535cc0eb94048c732828262a78 | |
parent | b67263e0e88ebb1001552190212159ff7e25cc07 (diff) | |
download | ffmpeg-05c9f6f4ef818cf1e7fdef8e118c9497e58326af.tar.gz |
fftools/ffmpeg: Fix runlength for strncmp()
-rw-r--r-- | fftools/ffmpeg.c | 2 |
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; |