Skip to content

Commit

Permalink
Merge pull request #81 from microsoft/user/tvandewalle/removeUseOfD3D…
Browse files Browse the repository at this point in the history
…12_VIDEO_DECODE_ARGUMENT_TYPE_MAX_VALID

Remove use of D3D12_VIDEO_DECODE_ARGUMENT_TYPE_MAX_VALID
  • Loading branch information
vdwtanner authored Mar 2, 2024
2 parents 423115b + 5cc318d commit dd468eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/9on12VideoTranslate.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ namespace D3D9on12
case D3DDDIFMT_SLICECONTROLDATA:
return D3D12_VIDEO_DECODE_ARGUMENT_TYPE_SLICE_CONTROL;
default:
return D3D12_VIDEO_DECODE_ARGUMENT_TYPE_MAX_VALID;
assert(false);
return (D3D12_VIDEO_DECODE_ARGUMENT_TYPE)-1;
}
}

Expand Down

0 comments on commit dd468eb

Please sign in to comment.