From b2e92e946c0b94e3e55a2ef45453940cf14ab619 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 16 Apr 2012 11:38:02 +0200 Subject: [PATCH] dvdec: drop const qualifier from variable to eliminate a warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libavcodec/dvdec.c:344:12: warning: assignment discards ‘const’ qualifier from pointer target type --- libavcodec/dvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c index ffa9c6d818..8a21267eca 100644 --- a/libavcodec/dvdec.c +++ b/libavcodec/dvdec.c @@ -313,7 +313,7 @@ static int dvvideo_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; DVVideoContext *s = avctx->priv_data; const uint8_t* vsc_pack;