golomb: use HAVE_BITS_REMAINING() macro to prevent infloop on EOF.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 17 Feb 2012 20:54:37 +0000 (12:54 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 24 Feb 2012 15:28:33 +0000 (07:28 -0800)
commit46b3fbc30b7aaf7fdd52391734cfd6d93af8720a
tree6cb71a8c81253e520a0ed592e6951c0df1d29689
parentb44b41633f110e9d938165e0f79c9d32191fc135
golomb: use HAVE_BITS_REMAINING() macro to prevent infloop on EOF.

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