]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qsvenc.h
configure: add -lvulkan to libglslang's lib flags
[ffmpeg] / libavcodec / qsvenc.h
index 4f579d1db1475f4cf753ab57370bc1947a843b4f..6d305f87ddbee5dd67f58e93feeec0c1e095ad61 100644 (file)
@@ -98,7 +98,7 @@
 { "forced_idr",     "Forcing I frames as IDR frames",         OFFSET(qsv.forced_idr),     AV_OPT_TYPE_BOOL,{ .i64 = 0  },  0,          1, VE },                         \
 { "low_power", "enable low power mode(experimental: many limitations by mfx version, BRC modes, etc.)", OFFSET(qsv.low_power), AV_OPT_TYPE_BOOL, { .i64 = 0}, 0, 1, VE},\
 
-extern const AVCodecHWConfigInternal *ff_qsv_enc_hw_configs[];
+extern const AVCodecHWConfigInternal *const ff_qsv_enc_hw_configs[];
 
 typedef int SetEncodeCtrlCB (AVCodecContext *avctx,
                              const AVFrame *frame, mfxEncodeCtrl* enc_ctrl);