changeset 6219:a0a645626940 libavcodec

one "cast discards qualifiers from pointer target type" less
author michael
date Fri, 01 Feb 2008 03:29:43 +0000
parents dfdff1ca78a7
children 0ed0d9d578ad
files utils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Fri Feb 01 03:26:31 2008 +0000
+++ b/utils.c	Fri Feb 01 03:29:43 2008 +0000
@@ -1000,7 +1000,7 @@
 
     *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;