[FFmpeg-cvslog] zmbv: Fix warning about discarded qualifier
Michael Niedermayer
git at videolan.org
Fri Jul 27 13:15:30 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jul 27 12:43:15 2012 +0200| [a2cd13f04f0d06a6c0e4981043d1b22c6af3469b] | committer: Michael Niedermayer
zmbv: Fix warning about discarded qualifier
Based on patch by: jamal <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2cd13f04f0d06a6c0e4981043d1b22c6af3469b
---
libavcodec/zmbv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index b7ebaf9..74212f2 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;
More information about the ffmpeg-cvslog
mailing list