[FFmpeg-cvslog] r13738 - trunk/libavcodec/dv.c

bcoudurier subversion
Tue Jun 10 21:21:40 CEST 2008


Author: bcoudurier
Date: Tue Jun 10 21:21:40 2008
New Revision: 13738

Log:
remove useless wrapper func

Modified:
   trunk/libavcodec/dv.c

Modified: trunk/libavcodec/dv.c
==============================================================================
--- trunk/libavcodec/dv.c	(original)
+++ trunk/libavcodec/dv.c	Tue Jun 10 21:21:40 2008
@@ -271,11 +271,6 @@ static inline int get_bits_left(GetBitCo
     return s->size_in_bits - get_bits_count(s);
 }
 
-static inline int get_bits_size(GetBitContext *s)
-{
-    return s->size_in_bits;
-}
-
 static inline int put_bits_left(PutBitContext* s)
 {
     return (s->buf_end - s->buf) * 8 - put_bits_count(s);
@@ -284,7 +279,7 @@ static inline int put_bits_left(PutBitCo
 /* decode ac coefs */
 static void dv_decode_ac(GetBitContext *gb, BlockInfo *mb, DCTELEM *block)
 {
-    int last_index = get_bits_size(gb);
+    int last_index = gb->size_in_bits;
     const uint8_t *scan_table = mb->scan_table;
     const uint8_t *shift_table = mb->shift_table;
     const int *iweight_table = mb->iweight_table;




More information about the ffmpeg-cvslog mailing list