avcodec/d3d12va_encode_av1: don't ignore return value
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
parent
f4fc14fb38
commit
04a46a2ae4
1 changed files with 1 additions and 3 deletions
|
|
@ -992,9 +992,7 @@ static int d3d12va_encode_av1_init_picture_params(AVCodecContext *avctx,
|
|||
d3d12va_pic->pic_ctl.pAV1PicData->ReferenceIndices[i] = fh->ref_frame_idx[i];
|
||||
}
|
||||
|
||||
int ret = av_fifo_write(priv->picture_header_list, &priv->units.raw_frame_header, 1);
|
||||
|
||||
return 0;
|
||||
return av_fifo_write(priv->picture_header_list, &priv->units.raw_frame_header, 1);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue