diff options
author | Moritz Barsnick <barsnick@gmx.net> | 2019-10-07 00:19:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-10-12 13:21:50 +0200 |
commit | 1ea44a55fe36c92420cba3542de256a1507f52fe (patch) | |
tree | 7c96d01163685be1016bd9de23c859a4fc01e33c /libavcodec/mpegvideodsp.c | |
parent | a3846fe69bbd71341155c33ece14b0591264caa8 (diff) | |
download | ffmpeg-1ea44a55fe36c92420cba3542de256a1507f52fe.tar.gz |
avformat/mpjpegdec: fix strict boundary search string
According to RFC1341, the multipart boundary indicated by the
Content-Type header must be prepended by CRLF + "--", and followed
by CRLF. In the case of strict MIME header boundary handling, the
"--" was forgotten to add.
Fixes trac #7921.
A side effect is that this coincidentally breaks enforcement of
strict MIME headers against servers running motion < 3.4.1, where
the boundary announcement in the HTTP headers incorrectly used the
prefix "--", which exactly matched this bug's behavior.
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpegvideodsp.c')
0 files changed, 0 insertions, 0 deletions