Mercurial > libavcodec.hg
comparison bitstream.h @ 2467:0b3697268285 libavcodec
make decode012() static inline
author | michael |
---|---|
date | Fri, 28 Jan 2005 11:21:57 +0000 |
parents | ab390f13c7f5 |
children | f5fe61bd08ac |
comparison
equal
deleted
inserted
replaced
2466:acfea8a94bf8 | 2467:0b3697268285 |
---|---|
822 | 822 |
823 #else //TRACE | 823 #else //TRACE |
824 #define tprintf(...) {} | 824 #define tprintf(...) {} |
825 #endif | 825 #endif |
826 | 826 |
827 static int decode012(GetBitContext *gb){ | 827 static inline int decode012(GetBitContext *gb){ |
828 int n; | 828 int n; |
829 n = get_bits1(gb); | 829 n = get_bits1(gb); |
830 if (n == 0) | 830 if (n == 0) |
831 return 0; | 831 return 0; |
832 else | 832 else |