summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2020-10-21 18:47:30 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2020-10-21 18:47:30 +0200
commit1bf86ee907709e37c0104908e56ec77d5d854c87 (patch)
treed94b7d6638948c360f7e8821b874bc894df907ac /libavcodec/nvenc.c
parente0c8e517b6a0d82d8837f78425b62132443ecf15 (diff)
avcodec/nvenc: removed unused and deprecated field
Diffstat (limited to 'libavcodec/nvenc.c')
-rw-r--r--libavcodec/nvenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index f560947ceb..4e081dc393 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -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);