mmaldec: Fix compilation after 2fcb0090
authorMartin Storsjö <martin@martin.st>
Wed, 20 Dec 2017 07:45:14 +0000 (09:45 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 20 Dec 2017 08:11:27 +0000 (10:11 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/mmaldec.c

index 10a48d3..504e765 100644 (file)
@@ -788,7 +788,7 @@ static int ffmmal_decode(AVCodecContext *avctx, void *data, int *got_frame,
     return ret;
 }
 
-static const AVCodecHWConfigInternal *mmal_hw_configs = {
+static const AVCodecHWConfigInternal *mmal_hw_configs[] = {
     HW_CONFIG_INTERNAL(MMAL),
     NULL
 };