comparison vc9.c @ 2464:ab390f13c7f5 libavcodec

dont duplicate decode012()
author michael
date Tue, 25 Jan 2005 01:40:58 +0000
parents 9baa47d8297b
children 5565203c95ee
comparison
equal deleted inserted replaced
2463:9baa47d8297b 2464:ab390f13c7f5
295 295
296 LAST_SKIP_BITS(re, gb, limit); 296 LAST_SKIP_BITS(re, gb, limit);
297 CLOSE_READER(re, gb); 297 CLOSE_READER(re, gb);
298 return limit; 298 return limit;
299 #endif 299 #endif
300 }
301
302 static int decode012(GetBitContext *gb)
303 {
304 int n;
305 n = get_bits1(gb);
306 if (n == 0)
307 return 0;
308 else
309 return get_bits1(gb) + 1;
310 } 300 }
311 301
312 static int init_common(VC9Context *v) 302 static int init_common(VC9Context *v)
313 { 303 {
314 static int done = 0; 304 static int done = 0;