summaryrefslogtreecommitdiff
path: root/libavcodec/zmbv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-27 12:43:15 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-27 12:43:15 +0200
commita2cd13f04f0d06a6c0e4981043d1b22c6af3469b (patch)
tree1f2ad58cec51e594860b7a8b09af52e00d65e9c4 /libavcodec/zmbv.c
parentcb40d360749a5f991cc3e0fd24889e2eaf051905 (diff)
zmbv: Fix warning about discarded qualifier
Based on patch by: jamal <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/zmbv.c')
-rw-r--r--libavcodec/zmbv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index b7ebaf90fa..74212f2372 100644
--- a/libavcodec/zmbv.c
+++ b/libavcodec/zmbv.c
@@ -505,7 +505,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
c->decomp_size = 1;
} else { // ZLIB-compressed data
c->zstream.total_in = c->zstream.total_out = 0;
- c->zstream.next_in = buf;
+ c->zstream.next_in = (uint8_t*)buf;
c->zstream.avail_in = len;
c->zstream.next_out = c->decomp_buf;
c->zstream.avail_out = c->decomp_size;