]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mpjpegdec.c
avformat/mpjpegdec: fix finding multipart boundary parameter
[ffmpeg] / libavformat / mpjpegdec.c
index 84130ab718d37706b52cb555c6277fda007a1a14..c0ffaf616e64eb4e777312311fa7283441cd7c20 100644 (file)
@@ -267,7 +267,7 @@ static char* mpjpeg_get_boundary(AVIOContext* pb)
         while (av_isspace(*start))
             start++;
 
-        if (!av_stristart(start, "boundary=", &start)) {
+        if (av_stristart(start, "boundary=", &start)) {
             end = strchr(start, ';');
             if (end)
                 len = end - start - 1;