]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nvenc.h
avcodec/hevc_sei: replace en dash character with a hyphen
[ffmpeg] / libavcodec / nvenc.h
index 07e0ae1769547022ce81c43e9595acf80271f96b..fefc5f7f0bac83efc280984ae8d6cf0cbef47d8e 100644 (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
@@ -231,6 +230,6 @@ int ff_nvenc_receive_packet(AVCodecContext *avctx, AVPacket *pkt);
 void ff_nvenc_encode_flush(AVCodecContext *avctx);
 
 extern const enum AVPixelFormat ff_nvenc_pix_fmts[];
-extern const AVCodecHWConfigInternal *ff_nvenc_hw_configs[];
+extern const AVCodecHWConfigInternal *const ff_nvenc_hw_configs[];
 
 #endif /* AVCODEC_NVENC_H */