avcodec/nvenc: removed unused and deprecated field

This commit is contained in:
Timo Rothenpieler 2020-10-21 18:47:30 +02:00
parent e0c8e517b6
commit 1bf86ee907
2 changed files with 0 additions and 2 deletions

View File

@ -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].size = allocOut.size;
av_fifo_generic_write(ctx->unused_surface_queue, &tmp_surface, sizeof(tmp_surface), NULL);

View File

@ -81,7 +81,6 @@ typedef struct NvencSurface
NV_ENC_OUTPUT_PTR output_surface;
NV_ENC_BUFFER_FORMAT format;
int size;
} NvencSurface;
typedef struct NvencDynLoadFunctions