Module: libav Branch: master Commit: b2e92e946c0b94e3e55a2ef45453940cf14ab619
Author: Diego Biurrun <di...@biurrun.de> Committer: Diego Biurrun <di...@biurrun.de> Date: Mon Apr 16 11:38:02 2012 +0200 dvdec: drop const qualifier from variable to eliminate a warning libavcodec/dvdec.c:344:12: warning: assignment discards ‘const’ qualifier from pointer target type --- libavcodec/dvdec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c index ffa9c6d..8a21267 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; _______________________________________________ libav-commits mailing list libav-commits@libav.org https://lists.libav.org/mailman/listinfo/libav-commits