aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/common.h
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2004-03-14 22:09:58 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2004-03-14 22:09:58 +0000
commit380fd6b1b47b74162763fad9afcdc2a7ee061d49 (patch)
treeaefc98ea87614a3a70c05ad9847712e4b5114ede /libavcodec/common.h
parentb51469a0c54b30079eecc4891cc050778f343683 (diff)
downloadffmpeg-380fd6b1b47b74162763fad9afcdc2a7ee061d49.tar.gz
* DV decoder simplifications. Now it looks to be 6% faster. At least
on my desktop. * Misc. DV cleanups and fixes. Originally committed as revision 2892 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r--libavcodec/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h
index cdbe0f0ba3..169e15e124 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -919,6 +919,11 @@ static inline int get_bits_left(GetBitContext *s)
return s->size_in_bits - get_bits_count(s);
}
+static inline int get_bits_size(GetBitContext *s)
+{
+ return s->size_in_bits;
+}
+
int check_marker(GetBitContext *s, const char *msg);
void align_get_bits(GetBitContext *s);
int init_vlc(VLC *vlc, int nb_bits, int nb_codes,