rawdec: fix mjpeg probing
authorwm4 <nfxjfg@googlemail.com>
Wed, 29 Jul 2015 20:11:18 +0000 (22:11 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 29 Jul 2015 21:50:46 +0000 (23:50 +0200)
commitbf51fcd304d5594a4d8eed2bedf0ef0f68fa65f8
tree4c563ac6c4173f0b86820693ab2085fa24b289aa
parentf8b81a02c980609c450992a0c261330a1ae95d86
rawdec: fix mjpeg probing

There can be other headers than "Content-Type:" (in this case, a
"Content-Length:" header was following), so checking for a trailing
newline is wrong.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/rawdec.c