You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/d3d12va_decode: remove unused variable
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
@ -50,7 +50,6 @@ typedef struct ReferenceFrame {
|
|||||||
static ID3D12Resource *get_reference_only_resource(AVCodecContext *avctx, ID3D12Resource *output_resource)
|
static ID3D12Resource *get_reference_only_resource(AVCodecContext *avctx, ID3D12Resource *output_resource)
|
||||||
{
|
{
|
||||||
D3D12VADecodeContext *ctx = D3D12VA_DECODE_CONTEXT(avctx);
|
D3D12VADecodeContext *ctx = D3D12VA_DECODE_CONTEXT(avctx);
|
||||||
AVHWFramesContext *frames_ctx = D3D12VA_FRAMES_CONTEXT(avctx);
|
|
||||||
AVD3D12VADeviceContext *device_hwctx = ctx->device_ctx;
|
AVD3D12VADeviceContext *device_hwctx = ctx->device_ctx;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
ID3D12Resource *resource = NULL;
|
ID3D12Resource *resource = NULL;
|
||||||
|
Reference in New Issue
Block a user