ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Thu Jan 5 09:50:57 2023 +0100| [5bf8f29135a6fd3fb2e887c7a37f3594eff97db8] | committer: Anton Khirnov
lavc/qsvdec: check ff_decode_frame_props() return value > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5bf8f29135a6fd3fb2e887c7a37f3594eff97db8 --- libavcodec/qsvdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index 92bfea196e..6bc85116ad 100644 --- a/libavcodec/qsvdec.c +++ b/libavcodec/qsvdec.c @@ -128,7 +128,9 @@ static int qsv_get_continuous_buffer(AVCodecContext *avctx, AVFrame *frame, { int ret = 0; - ff_decode_frame_props(avctx, frame); + ret = ff_decode_frame_props(avctx, frame); + if (ret < 0) + return ret; frame->width = avctx->width; frame->height = avctx->height; _______________________________________________ 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".