summaryrefslogtreecommitdiff
path: root/libavformat/mpjpegdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-04 03:09:00 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-04 03:09:00 +0100
commit9696a01f12627a8d15d321b63a534305aeead775 (patch)
treeee7a2944c9aae498dd94e93284cbe18197898672 /libavformat/mpjpegdec.c
parenta27401a05ba31fe4a8f7824d376c1d48d2e571a9 (diff)
avformat/mpjpegdec: Fix "libavformat/mpjpegdec.c:269:9: warning: passing argument 3 of av_stristart from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mpjpegdec.c')
-rw-r--r--libavformat/mpjpegdec.c4
1 files 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;