comparison bitstream.h @ 2464:ab390f13c7f5 libavcodec

dont duplicate decode012()
author michael
date Tue, 25 Jan 2005 01:40:58 +0000
parents e98b5e0de86b
children 0b3697268285
comparison
equal deleted inserted replaced
2463:9baa47d8297b 2464:ab390f13c7f5
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){
828 int n;
829 n = get_bits1(gb);
830 if (n == 0)
831 return 0;
832 else
833 return get_bits1(gb) + 1;
834 }
835
827 #endif /* BITSTREAM_H */ 836 #endif /* BITSTREAM_H */