Skip to content

Commit

Permalink
avcodec/nvenc: removed unused and deprecated field
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed Oct 21, 2020
1 parent e0c8e51 commit 1bf86ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion libavcodec/nvenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion libavcodec/nvenc.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ typedef struct NvencSurface

NV_ENC_OUTPUT_PTR output_surface;
NV_ENC_BUFFER_FORMAT format;
int size;
} NvencSurface;

typedef struct NvencDynLoadFunctions
Expand Down

0 comments on commit 1bf86ee

Please sign in to comment.