[libav-devel] [PATCH] mmaldec: Fix compilation after 2fcb0090

Martin Storsjö martin at martin.st
Wed Dec 20 08:45:37 CET 2017


---
 libavcodec/mmaldec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c
index 10a48d3e0f..504e765d07 100644
--- a/libavcodec/mmaldec.c
+++ b/libavcodec/mmaldec.c
@@ -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
 };
-- 
2.11.0



More information about the libav-devel mailing list