diff dv.c @ 10504:9f16f997c41b libavcodec

Make get_bits_left() available for use in libavcodec (was previously held private in dv.c for some reason). See "[PATCH] get_bits_left()" thread.
author rbultje
date Mon, 09 Nov 2009 22:10:43 +0000
parents 3c13cad19e29
children 03d02e21b432
line wrap: on
line diff
--- a/dv.c	Mon Nov 09 22:04:03 2009 +0000
+++ b/dv.c	Mon Nov 09 22:10:43 2009 +0000
@@ -416,11 +416,6 @@
 /* see dv_88_areas and dv_248_areas for details */
 static const int mb_area_start[5] = { 1, 6, 21, 43, 64 };
 
-static inline int get_bits_left(GetBitContext *s)
-{
-    return s->size_in_bits - get_bits_count(s);
-}
-
 static inline int put_bits_left(PutBitContext* s)
 {
     return (s->buf_end - s->buf) * 8 - put_bits_count(s);