ffmpeg | branch: master | Thilo Borgmann <thilo.borgm...@mail.de> | Mon Jul 19 
21:23:02 2021 +0200| [05c9f6f4ef818cf1e7fdef8e118c9497e58326af] | committer: 
Thilo Borgmann

fftools/ffmpeg: Fix runlength for strncmp()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=05c9f6f4ef818cf1e7fdef8e118c9497e58326af
---

 fftools/ffmpeg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to