sipr: fix get_bits(0) calls
authorMans Rullgard <mans@mansr.com>
Mon, 10 Oct 2011 19:41:31 +0000 (20:41 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 4 Nov 2011 00:02:46 +0000 (01:02 +0100)
commit73f85eae68b6d40cad1cd53b04a6ed1a31cced1b
tree69a0f5a9bf629835eb7cdbb361ce7543c8c3cf48
parent9b6080f68523353122e1727a10999bb3bab38e15
sipr: fix get_bits(0) calls

Zero-length get_bits() is undefined, must check before calling.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit c79d2a20bad59298188171f1316a830d563a41ee)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/sipr.c