From 9696a01f12627a8d15d321b63a534305aeead775 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 4 Dec 2015 03:09:00 +0100 Subject: [PATCH] avformat/mpjpegdec: Fix "libavformat/mpjpegdec.c:269:9: warning: passing argument 3 of av_stristart from incompatible pointer type" Signed-off-by: Michael Niedermayer --- libavformat/mpjpegdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c index 49fe6f650e..2507bb0738 100644 --- a/libavformat/mpjpegdec.c +++ b/libavformat/mpjpegdec.c @@ -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;