On Sat, Sep 12, 2015 at 04:33:17PM -0400, Alex Agranovsky wrote: > libavformat/mpjpegdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c > index b8281fc..8413ae7 100644 > --- a/libavformat/mpjpegdec.c > +++ b/libavformat/mpjpegdec.c > @@ -165,7 +165,7 @@ static int parse_multipart_header(AVFormatContext *s) > > ret = get_line(s->pb, line, sizeof(line)); > if (ret < 0) > - return ret; > + break;
Applying: Allow mpjpeg headers parsing to succeed upon EOF, if required headers are present fatal: corrupt patch at line 7 also for strict correctness this should probably only break for AVERROR_EOF [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Dictatorship naturally arises out of democracy, and the most aggravated form of tyranny and slavery out of the most extreme liberty. -- Plato
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel