huffyuv: error out on bit overrun.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 17 Feb 2012 23:00:47 +0000 (15:00 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 17 Feb 2012 23:23:20 +0000 (15:23 -0800)
commit84c202cc37024bd78261e4222e46631ea73c48dd
tree8c66544aa78399182310dbc6ede9a70268265927
parent07333750592e983f8c382491c48f7b402213cca9
huffyuv: error out on bit overrun.

On EOF, get_bits() will continuously return 0, causing an infinite
loop.

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