[FFmpeg-cvslog] avformat/mpjpegdec: Fix "libavformat/mpjpegdec.c:269:9: warning: passing argument 3 of av_stristart from incompatible pointer type"

Michael Niedermayer git at videolan.org
Fri Dec 4 03:19:29 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Dec  4 03:09:00 2015 +0100| [9696a01f12627a8d15d321b63a534305aeead775] | committer: Michael Niedermayer

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 at niedermayer.cc>

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

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

diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c
index 49fe6f6..2507bb0 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;
 



More information about the ffmpeg-cvslog mailing list