From fd4a52e4da645fa50c0de5f9fa7421cc1029a1fa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 15 May 2016 04:28:31 +0200 Subject: [PATCH] avcodec/dstdec: Fix "warning: initialization from incompatible pointer type [enabled by default]" Signed-off-by: Michael Niedermayer --- libavcodec/dstdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec.c index 13be24a057..368cb64931 100644 --- a/libavcodec/dstdec.c +++ b/libavcodec/dstdec.c @@ -320,7 +320,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, for (i = 0; i < samples_per_frame; i++) { for (ch = 0; ch < channels; ch++) { const unsigned felem = map_ch_to_felem[ch]; - const int16_t (*filter)[256] = s->filter[felem]; + int16_t (*filter)[256] = s->filter[felem]; uint8_t *status = s->status[ch]; int prob, residual, v;