[FFmpeg-devel] [PATCH] mpjpeg: CRLF terminating a sequence of MIME headers should not cause an error

Michael Niedermayer michaelni at gmx.at
Mon Sep 21 02:30:33 CEST 2015


On Sat, Sep 12, 2015 at 08:25:12PM -0400, Alex Agranovsky wrote:
> This is as intended: stopping at the empty line is exactly what we should do in this case, as it separates headers from the content.
> If the two headers we’re looking for hadn’t been encountered prior to the empty line, error should be returned. 
> 
> This is based on http://tools.ietf.org/html/rfc2046:
> 
>     body-part := MIME-part-headers [CRLF *OCTET]
>                   ; Lines in a body-part must not start
>                   ; with the specified dash-boundary and
>                   ; the delimiter must not appear anywhere
>                   ; in the body part.  Note that the
>                   ; semantics of a body-part differ from
>                   ; the semantics of a message, as
>                   ; described in the text.
> 

ok
applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150921/cc9fa3aa/attachment.sig>


More information about the ffmpeg-devel mailing list