summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:29:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:29:43 +0000
commit0431d3b12131bb6f8eb9c46336efbef494f203da (patch)
tree9244856fb26856c96aaa50f94d794ad334a85081
parent7993df65275a9a9bf0a04c37d1aa31901d3ebb0c (diff)
one "cast discards qualifiers from pointer target type" less
Originally committed as revision 11709 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 4ebc7c324b..28eea11817 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;