flac: fix infinite loops on all-zero input or end-of-stream.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 15 Feb 2012 17:52:11 +0000 (09:52 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 17 Feb 2012 01:08:29 +0000 (17:08 -0800)
commit52e4018be47697a60f4f18f83551766df31f5adf
treebdf50e94f4a6e75037256f58ea2ae6cd7358b6f9
parentb4027d97498af67313bded746b3da38915e155f5
flac: fix infinite loops on all-zero input or end-of-stream.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/flacdec.c
libavcodec/golomb.h