]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mediacodecdec.c
avcodec/cabac_functions, x86/cabac: Include stddef.h
[ffmpeg] / libavcodec / mediacodecdec.c
index f5771bffb1f34140ae5bcfe96bb3fbb2683f74eb..ac1725e4660cc5b7db0d7b1aaf9f0c0365305ffa 100644 (file)
@@ -34,7 +34,7 @@
 #include "decode.h"
 #include "h264_parse.h"
 #include "hevc_parse.h"
-#include "hwaccel.h"
+#include "hwconfig.h"
 #include "internal.h"
 #include "mediacodec_wrapper.h"
 #include "mediacodecdec_common.h"
@@ -486,7 +486,7 @@ static void mediacodec_decode_flush(AVCodecContext *avctx)
     ff_mediacodec_dec_flush(avctx, s->ctx);
 }
 
-static const AVCodecHWConfigInternal *mediacodec_hw_configs[] = {
+static const AVCodecHWConfigInternal *const mediacodec_hw_configs[] = {
     &(const AVCodecHWConfigInternal) {
         .public          = {
             .pix_fmt     = AV_PIX_FMT_MEDIACODEC,