Browse Source

tscc: fix "assignment discards qualifiers from pointer target type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
b9a7719828
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/tscc.c

+ 1
- 1
libavcodec/tscc.c View File

@@ -91,7 +91,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret); av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret);
return AVERROR(EINVAL); return AVERROR(EINVAL);
} }
c->zstream.next_in = encoded;
c->zstream.next_in = (uint8_t*)encoded;
c->zstream.avail_in = len; c->zstream.avail_in = len;
c->zstream.next_out = c->decomp_buf; c->zstream.next_out = c->decomp_buf;
c->zstream.avail_out = c->decomp_size; c->zstream.avail_out = c->decomp_size;


Loading…
Cancel
Save