aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-05-15 04:28:31 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-15 12:21:15 +0200
commitfd4a52e4da645fa50c0de5f9fa7421cc1029a1fa (patch)
treed1d5df0192cae5fa9891c1e0f8c56465e7002c66 /libavcodec
parent81c3ce0855f144c89800b824db3e4e0dcdad9016 (diff)
downloadffmpeg-fd4a52e4da645fa50c0de5f9fa7421cc1029a1fa.tar.gz
avcodec/dstdec: Fix "warning: initialization from incompatible pointer type [enabled by default]"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dstdec.c2
1 files changed, 1 insertions, 1 deletions
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;