get_bits: add get_bitsz for reading 0-25 bits
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 2 Jan 2016 23:28:42 +0000 (00:28 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 3 Jan 2016 20:12:43 +0000 (21:12 +0100)
commit713654d9d3a6931a9b4cd0cffa4bb61cd1357977
treeed1e43ae1ca793702e3f1e9149051f87d0143d91
parent97c162add7f33f4f8c82b1f873830d96e04ab06a
get_bits: add get_bitsz for reading 0-25 bits

This can be used to simplify code in a couple of places.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/get_bits.h
libavcodec/mpegaudiodec_template.c