[FFmpeg-devel] [PATCH 1/3] avcodec/vaapi_encode: Avoid double AVERRORS
Michael Niedermayer
michael at niedermayer.cc
Mon Oct 2 18:31:01 EEST 2023
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavcodec/vaapi_encode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
index e3820956d16..6c3e41fb318 100644
--- a/libavcodec/vaapi_encode.c
+++ b/libavcodec/vaapi_encode.c
@@ -834,7 +834,7 @@ static int vaapi_encode_output(AVCodecContext *avctx,
if (pic->tail_size) {
if (ctx->tail_pkt->size) {
- err = AVERROR(AVERROR_BUG);
+ err = AVERROR_BUG;
goto end;
}
--
2.17.1
More information about the ffmpeg-devel
mailing list