avcodec/vaapi_encode: Avoid double AVERRORS

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2023-10-02 16:09:31 +02:00
parent 7deaca71b3
commit bf1159774b
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}