]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vaapi_encode.c
vaapi_encode: Add support for codec-local options
[ffmpeg] / libavcodec / vaapi_encode.c
index b1f00695c7240c3bb0b165f8c080b152dd9834ed..c80e638cad6400269feef7a42247b97e71fa9a8f 100644 (file)
@@ -905,6 +905,7 @@ av_cold int ff_vaapi_encode_init(AVCodecContext *avctx,
     }
 
     ctx->codec = type;
+    ctx->codec_options = ctx->codec_options_data;
 
     ctx->priv_data = av_mallocz(type->priv_data_size);
     if (!ctx->priv_data) {