[FFmpeg-cvslog] r19520 - trunk/libavcodec/rv10.c

diego subversion
Mon Jul 27 18:10:38 CEST 2009


Author: diego
Date: Mon Jul 27 18:10:38 2009
New Revision: 19520

Log:
Remove disabled function get_num().
It is small and has been disabled and unused for more than four years.

Modified:
   trunk/libavcodec/rv10.c

Modified: trunk/libavcodec/rv10.c
==============================================================================
--- trunk/libavcodec/rv10.c	Mon Jul 27 16:32:54 2009	(r19519)
+++ trunk/libavcodec/rv10.c	Mon Jul 27 18:10:38 2009	(r19520)
@@ -289,21 +289,6 @@ void rv20_encode_picture_header(MpegEncC
     }
 }
 
-#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 */



More information about the ffmpeg-cvslog mailing list