Browse Source

avcodec/dstdec: Fix "warning: initialization from incompatible pointer type [enabled by default]"

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Michael Niedermayer 9 years ago
parent
commit
fd4a52e4da
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dstdec.c

+ 1
- 1
libavcodec/dstdec.c View File

@@ -320,7 +320,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
for (i = 0; i < samples_per_frame; i++) { for (i = 0; i < samples_per_frame; i++) {
for (ch = 0; ch < channels; ch++) { for (ch = 0; ch < channels; ch++) {
const unsigned felem = map_ch_to_felem[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]; uint8_t *status = s->status[ch];
int prob, residual, v; int prob, residual, v;




Loading…
Cancel
Save