From ce6636b1c1a67ad082cdf2d5e8100451dcb42b65 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 27 Jul 2009 16:10:38 +0000 Subject: [PATCH] Remove disabled function get_num(). It is small and has been disabled and unused for more than four years. Originally committed as revision 19520 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv10.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index af20f0c4ce..ea1502c4bd 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -289,21 +289,6 @@ void rv20_encode_picture_header(MpegEncContext *s, int picture_number){ } } -#if 0 /* unused, remove? */ -static int get_num(GetBitContext *gb) -{ - int n, n1; - - n = get_bits(gb, 16); - if (n >= 0x4000) { - return n - 0x4000; - } else { - n1 = get_bits(gb, 16); - return (n << 16) | n1; - } -} -#endif - #endif /* CONFIG_RV10_ENCODER || CONFIG_RV20_ENCODER */ /* read RV 1.0 compatible frame header */