avcodec/vaapi_encode: Avoid double AVERRORS
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit bf1159774b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2450e202c4
commit
2b403b88fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue