[FFmpeg-cvslog] avcodec/dstdec: Fix "warning: initialization from incompatible pointer type [enabled by default]"
Michael Niedermayer
git at videolan.org
Sun May 15 14:34:23 CEST 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun May 15 04:28:31 2016 +0200| [fd4a52e4da645fa50c0de5f9fa7421cc1029a1fa] | committer: Michael Niedermayer
avcodec/dstdec: Fix "warning: initialization from incompatible pointer type [enabled by default]"
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fd4a52e4da645fa50c0de5f9fa7421cc1029a1fa
---
libavcodec/dstdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec.c
index 13be24a..368cb64 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;
More information about the ffmpeg-cvslog
mailing list