From 62825236dba31a2240e25974a3ba41c1303e4edc Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Mon, 11 Jan 2016 21:05:55 +0100 Subject: lavc: Add get_bitsz() get_bit variant supporting 0-bits reads. Signed-off-by: Luca Barbato --- libavcodec/mpegaudiodec_template.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libavcodec/mpegaudiodec_template.c') diff --git a/libavcodec/mpegaudiodec_template.c b/libavcodec/mpegaudiodec_template.c index 184d67bf3b..820a7ae938 100644 --- a/libavcodec/mpegaudiodec_template.c +++ b/libavcodec/mpegaudiodec_template.c @@ -795,13 +795,6 @@ static void exponents_from_scale_factors(MPADecodeContext *s, GranuleDef *g, } } -/* handle n = 0 too */ -static inline int get_bitsz(GetBitContext *s, int n) -{ - return n ? get_bits(s, n) : 0; -} - - static void switch_buffer(MPADecodeContext *s, int *pos, int *end_pos, int *end_pos2) { -- cgit v1.2.1