mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/nvenc: removed unused and deprecated field
This commit is contained in:
parent
e0c8e517b6
commit
1bf86ee907
|
@ -1482,7 +1482,6 @@ static av_cold int nvenc_alloc_surface(AVCodecContext *avctx, int idx)
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx->surfaces[idx].output_surface = allocOut.bitstreamBuffer;
|
ctx->surfaces[idx].output_surface = allocOut.bitstreamBuffer;
|
||||||
ctx->surfaces[idx].size = allocOut.size;
|
|
||||||
|
|
||||||
av_fifo_generic_write(ctx->unused_surface_queue, &tmp_surface, sizeof(tmp_surface), NULL);
|
av_fifo_generic_write(ctx->unused_surface_queue, &tmp_surface, sizeof(tmp_surface), NULL);
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,6 @@ typedef struct NvencSurface
|
||||||
|
|
||||||
NV_ENC_OUTPUT_PTR output_surface;
|
NV_ENC_OUTPUT_PTR output_surface;
|
||||||
NV_ENC_BUFFER_FORMAT format;
|
NV_ENC_BUFFER_FORMAT format;
|
||||||
int size;
|
|
||||||
} NvencSurface;
|
} NvencSurface;
|
||||||
|
|
||||||
typedef struct NvencDynLoadFunctions
|
typedef struct NvencDynLoadFunctions
|
||||||
|
|
Loading…
Reference in New Issue