Fix possible crashes in mlp parser, it tries to go back 7 bytes after
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 27 Jan 2010 20:04:19 +0000 (20:04 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 27 Jan 2010 20:04:19 +0000 (20:04 +0000)
commit7e2ef1b9e148e75a8d552f15805878f6a344e36e
tree6371fc078a38f07fb39329b8dc78258d413bca17
parentd780511b94855a305003f33ac63630dc9cba5084
Fix possible crashes in mlp parser, it tries to go back 7 bytes after
finding the 4-byte signature.
Add a check that ignores the signature if we do not have enough previous
data to go back at least 7 bytes.

Originally committed as revision 21487 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mlp_parser.c