diff options
author | Tong Wu <tong1.wu@intel.com> | 2024-03-19 16:02:36 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2024-04-03 10:23:05 +0800 |
commit | 0faf2ca98a3abf1f44d73e27c785f24e24e6535c (patch) | |
tree | 4da21b332724624d3f534e272feb8e20f50be1ae | |
parent | 50458b7fa1fc9b22ae48d410954585780f1a44f7 (diff) | |
download | ffmpeg-0faf2ca98a3abf1f44d73e27c785f24e24e6535c.tar.gz |
avcodec/d3d12va_decode: remove extra spaces for declaration
Signed-off-by: Tong Wu <tong1.wu@intel.com>
-rw-r--r-- | libavcodec/d3d12va_decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/d3d12va_decode.c b/libavcodec/d3d12va_decode.c index 94a3794807..3b8978635e 100644 --- a/libavcodec/d3d12va_decode.c +++ b/libavcodec/d3d12va_decode.c @@ -270,7 +270,7 @@ fail: int ff_d3d12va_common_frame_params(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx) { - AVHWFramesContext *frames_ctx = (AVHWFramesContext *)hw_frames_ctx->data; + AVHWFramesContext *frames_ctx = (AVHWFramesContext *)hw_frames_ctx->data; frames_ctx->format = AV_PIX_FMT_D3D12; frames_ctx->sw_format = avctx->sw_pix_fmt == AV_PIX_FMT_YUV420P10 ? AV_PIX_FMT_P010 : AV_PIX_FMT_NV12; @@ -411,7 +411,7 @@ int ff_d3d12va_decode_uninit(AVCodecContext *avctx) static inline int d3d12va_update_reference_frames_state(AVCodecContext *avctx, D3D12_RESOURCE_BARRIER *barriers, ID3D12Resource *current_resource, int state_before, int state_end) { - D3D12VADecodeContext *ctx = D3D12VA_DECODE_CONTEXT(avctx); + D3D12VADecodeContext *ctx = D3D12VA_DECODE_CONTEXT(avctx); int num_barrier = 0; for (int i = 0; i < ctx->max_num_ref; i++) { |