flacdec: Add a check for small buffer size. This ensures reading as
commitf05ed60af9b181be10da5c8ec9e400901b56561f
authorjbr <jbr@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 4 Mar 2009 23:55:10 +0000 (4 23:55 +0000)
committerjbr <jbr@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 4 Mar 2009 23:55:10 +0000 (4 23:55 +0000)
tree6481450772bccbf973c2e8cba19dc34e71d6c3a9
parent4e97e4efbac4bb576adb3d35adaa249f1e8a7f08
flacdec: Add a check for small buffer size.  This ensures reading as
much of the frame header as possible without excluding the smallest
possible FLAC frame.  It also fixes a false positive warning message
that was being emitted at the end of decoding.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17816 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavcodec/flacdec.c