[FFmpeg-cvslog] avcodec/xbmdec: fix pointer type warnings

Michael Niedermayer git at videolan.org
Sat May 3 22:16:08 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May  3 22:07:54 2014 +0200| [bb605ef8ab60fa5f8d961bf14417bed575d9da1d] | committer: Michael Niedermayer

avcodec/xbmdec: fix pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb605ef8ab60fa5f8d961bf14417bed575d9da1d
---

 libavcodec/xbmdec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/xbmdec.c b/libavcodec/xbmdec.c
index a2c3659..e03ff31 100644
--- a/libavcodec/xbmdec.c
+++ b/libavcodec/xbmdec.c
@@ -50,9 +50,9 @@ static int parse_str_int(const uint8_t *p, int len, const uint8_t *key)
         return INT_MIN;
 
     for(; p<end; p++) {
-        char **eptr;
+        char *eptr;
         int64_t ret = strtol(p, &eptr, 10);
-        if (eptr != p)
+        if ((const uint8_t *)eptr != p)
             return ret;
     }
     return INT_MIN;



More information about the ffmpeg-cvslog mailing list