diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-10-02 16:09:31 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-12-29 21:36:02 +0100 |
commit | bf1159774b94ffcf1049f1def23db5d7cf46a433 (patch) | |
tree | d6f8d1ec1d019b489dc2a87dc1244bd813187b22 | |
parent | 7deaca71b32c556620e05954ca2d13fbe9aacf1f (diff) | |
download | ffmpeg-bf1159774b94ffcf1049f1def23db5d7cf46a433.tar.gz |
avcodec/vaapi_encode: Avoid double AVERRORS
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/vaapi_encode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index b2f3059643..86f4110cd2 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c @@ -833,7 +833,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; } |