X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Frkmppdec.c;h=a60962dc86bda448f8a1a101765ae86cf29e2dc4;hb=56450a0ee4fdda160f4039fc2ae33edfd27765c9;hp=143d05bd51753253f52b564cf2b01f875aa5bee7;hpb=1a8be90adbaf86faa3053ff98118004ad7711c8c;p=ffmpeg diff --git a/libavcodec/rkmppdec.c b/libavcodec/rkmppdec.c index 143d05bd517..a60962dc86b 100644 --- a/libavcodec/rkmppdec.c +++ b/libavcodec/rkmppdec.c @@ -28,7 +28,7 @@ #include "avcodec.h" #include "decode.h" -#include "hwaccel.h" +#include "hwconfig.h" #include "internal.h" #include "libavutil/buffer.h" #include "libavutil/common.h" @@ -548,7 +548,7 @@ static void rkmpp_flush(AVCodecContext *avctx) av_log(avctx, AV_LOG_ERROR, "Failed to reset MPI (code = %d)\n", ret); } -static const AVCodecHWConfigInternal *rkmpp_hw_configs[] = { +static const AVCodecHWConfigInternal *const rkmpp_hw_configs[] = { HW_CONFIG_INTERNAL(DRM_PRIME), NULL };