ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Wed Jul 17 22:57:46 2024 -0300| [2ff7d10c307bc36d56f7c28e4b7675144b0a7546] | committer: James Almer
fftools/ffmpeg_filter: use the correct specifier for crop arguments Signed-off-by: James Almer <jamr...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ff7d10c307bc36d56f7c28e4b7675144b0a7546 --- fftools/ffmpeg_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 097bd2ed48..b562e8417c 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -1703,7 +1703,7 @@ static int configure_input_video_filter(FilterGraph *fg, AVFilterGraph *graph, if ((ifp->opts.flags & IFILTER_FLAG_CROP)) { char crop_buf[64]; - snprintf(crop_buf, sizeof(crop_buf), "w=iw-%d-%d:h=ih-%d-%d:x=%d:y=%d", + snprintf(crop_buf, sizeof(crop_buf), "w=iw-%u-%u:h=ih-%u-%u:x=%u:y=%u", ifp->opts.crop_left, ifp->opts.crop_right, ifp->opts.crop_top, ifp->opts.crop_bottom, ifp->opts.crop_left, ifp->opts.crop_top); _______________________________________________ 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".