From 0431d3b12131bb6f8eb9c46336efbef494f203da Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Feb 2008 03:29:43 +0000 Subject: [PATCH] one "cast discards qualifiers from pointer target type" less Originally committed as revision 11709 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 4ebc7c324..28eea1181 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1000,7 +1000,7 @@ int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub, *got_sub_ptr = 0; ret = avctx->codec->decode(avctx, sub, got_sub_ptr, - (uint8_t *)buf, buf_size); + buf, buf_size); if (*got_sub_ptr) avctx->frame_number++; return ret; -- 2.11.0