avformat/mpjpegdec: Fix "libavformat/mpjpegdec.c:269:9: warning: passing argument...
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 4 Dec 2015 02:09:00 +0000 (03:09 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 4 Dec 2015 02:09:00 +0000 (03:09 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mpjpegdec.c

index 49fe6f6..2507bb0 100644 (file)
@@ -250,8 +250,8 @@ static int parse_multipart_header(AVIOContext *pb,
 static char* mpjpeg_get_boundary(AVIOContext* pb)
 {
     uint8_t *mime_type = NULL;
-    uint8_t *start;
-    uint8_t *end;
+    const char *start;
+    const char *end;
     uint8_t *res = NULL;
     int     len;