Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavcodec/libxevd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c
index f78606291c..f15c2583a1 100644
--- a/libavcodec/libxevd.c
+++ b/libavcodec/libxevd.c
@@ -204,7 +204,8 @@ static int libxevd_image_copy(struct AVCodecContext *avctx,
XEVD_IMGB *imgb, str
}
}
- if (ret = ff_get_buffer(avctx, frame, 0) < 0)
+ ret = ff_get_buffer(avctx, frame, 0);
+ if (ret < 0)
return ret;
av_image_copy(frame->data, frame->linesize, (const uint8_t **)imgb->a,
--
2.40.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".