mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00:00
avcodec/vaapi_encode: Avoid double AVERRORS
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
7deaca71b3
commit
bf1159774b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user