return error if len is negative, prevent segfault
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 26 May 2008 03:53:10 +0000 (03:53 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 26 May 2008 03:53:10 +0000 (03:53 +0000)
commite5ece1831a90251be771127cf8f3afff22ee3397
treede23d41cde6b7f78185d8de45618bcc59515a88a
parent278f987a33149351271fca9c89217545d2cae562
return error if len is negative, prevent segfault

Originally committed as revision 13419 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/ffmdec.c