mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
avcodec/d3d12va_encode: use correct none flag
NFC, it's still 0, but correct enum type so compilers won't complain. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
@@ -1154,7 +1154,7 @@ static int d3d12va_create_encoder_heap(AVCodecContext *avctx)
|
||||
|
||||
D3D12_VIDEO_ENCODER_HEAP_DESC desc = {
|
||||
.NodeMask = 0,
|
||||
.Flags = D3D12_VIDEO_ENCODER_FLAG_NONE,
|
||||
.Flags = D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE,
|
||||
.EncodeCodec = ctx->codec->d3d12_codec,
|
||||
.EncodeProfile = ctx->profile->d3d12_profile,
|
||||
.EncodeLevel = ctx->level,
|
||||
|
||||
Reference in New Issue
Block a user