]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rkmppdec.c
avformat: Constify the API wrt AV(In|Out)putFormat
[ffmpeg] / libavcodec / rkmppdec.c
index 143d05bd51753253f52b564cf2b01f875aa5bee7..a60962dc86bda448f8a1a101765ae86cf29e2dc4 100644 (file)
@@ -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
 };