aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tscc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-08 03:11:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-08 03:11:02 +0200
commitb9a77198280f61db55e439f9f50b70c1b5f683d0 (patch)
tree850796be53560441d9ff140b1fc11ac9eca2f7e3 /libavcodec/tscc.c
parentc5fdd0696ab5cd4dfe82d83b38a355d24dfa540c (diff)
downloadffmpeg-b9a77198280f61db55e439f9f50b70c1b5f683d0.tar.gz
tscc: fix "assignment discards qualifiers from pointer target type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/tscc.c')
-rw-r--r--libavcodec/tscc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c
index 954e372c15..e85fdb52b3 100644
--- a/libavcodec/tscc.c
+++ b/libavcodec/tscc.c
@@ -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);
return AVERROR(EINVAL);
}
- c->zstream.next_in = encoded;
+ c->zstream.next_in = (uint8_t*)encoded;
c->zstream.avail_in = len;
c->zstream.next_out = c->decomp_buf;
c->zstream.avail_out = c->decomp_size;