[FFmpeg-cvslog] avfilter/framesync: fix order of operation with = and <0
Michael Niedermayer
git at videolan.org
Fri Nov 3 23:20:41 EET 2023
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Nov 2 23:49:53 2023 +0100| [9450a4a7fef5816ee893177c903f0232724c57c6] | committer: Michael Niedermayer
avfilter/framesync: fix order of operation with = and <0
Reviewed-by: Sean McGovern <gseanmcg at gmail.com>
Reviewed-by: Nicolas George <george at nsup.org>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9450a4a7fef5816ee893177c903f0232724c57c6
---
libavfilter/framesync.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/framesync.c b/libavfilter/framesync.c
index c748262ba6..6cb4b21fed 100644
--- a/libavfilter/framesync.c
+++ b/libavfilter/framesync.c
@@ -288,7 +288,7 @@ int ff_framesync_get_frame(FFFrameSync *fs, unsigned in, AVFrame **rframe,
if (need_copy) {
if (!(frame = av_frame_clone(frame)))
return AVERROR(ENOMEM);
- if ((ret = ff_inlink_make_frame_writable(fs->parent->inputs[in], &frame) < 0)) {
+ if ((ret = ff_inlink_make_frame_writable(fs->parent->inputs[in], &frame)) < 0) {
av_frame_free(&frame);
return ret;
}
More information about the ffmpeg-cvslog
mailing list