Message ID | 20171220074537.8550-1-martin@martin.st |
---|---|
State | Committed |
Commit | 2beba58e0e4bda688bf96e12413231607ceafdd4 |
Headers | show |
On Wed, 20 Dec 2017 09:45:37 +0200 Martin Storsjö <martin@martin.st> wrote: > --- > 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 > }; LGTM
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 };