[FFmpeg-devel] [PATCH 08/15] zmbv: Fix warning about discarded qualifier

jamal jamrial at gmail.com
Fri Jul 27 10:23:18 CEST 2012


---
 libavcodec/zmbv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index b7ebaf9..f05c7df 100644
--- a/libavcodec/zmbv.c
+++ b/libavcodec/zmbv.c
@@ -398,7 +398,7 @@ static int zmbv_decode_intra(ZmbvContext *c)
 
 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
 {
-    const uint8_t *buf = avpkt->data;
+    uint8_t *buf = avpkt->data;
     int buf_size = avpkt->size;
     ZmbvContext * const c = avctx->priv_data;
     int zret = Z_OK; // Zlib return code
-- 
1.7.8.6



More information about the ffmpeg-devel mailing list