mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00: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:
parent
c1ccd4bb22
commit
a1588c875a
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue