aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-04-16 11:38:02 +0200
committerDiego Biurrun <diego@biurrun.de>2012-05-06 18:01:30 +0200
commitb2e92e946c0b94e3e55a2ef45453940cf14ab619 (patch)
tree706f7e1c0b5266173e2f22fe6a7d01a6ce45a831 /libavcodec/dvdec.c
parentad0278661b2625e56e09d1ee96f404fc575a9edf (diff)
downloadffmpeg-b2e92e946c0b94e3e55a2ef45453940cf14ab619.tar.gz
dvdec: drop const qualifier from variable to eliminate a warning
libavcodec/dvdec.c:344:12: warning: assignment discards ‘const’ qualifier from pointer target type
Diffstat (limited to 'libavcodec/dvdec.c')
-rw-r--r--libavcodec/dvdec.c2
1 files changed, 1 insertions, 1 deletions
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;