You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/nvenc: removed unused and deprecated field
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user