mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-01-12 00:06:51 +08:00
avcodec/d3d12va_encode_av1: don't ignore return value
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
committed by
James Almer
parent
f4fc14fb38
commit
04a46a2ae4
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user