comparison alac.c @ 5513:9f8219a3b86f libavcodec

use get_bits1(..) instead get_bits(.., 1)
author alex
date Thu, 09 Aug 2007 00:13:31 +0000
parents 737a4c7266da
children d2ef80f5fd7e
comparison
equal deleted inserted replaced
5512:28dcc5cd79d2 5513:9f8219a3b86f
487 get_bits(&alac->gb, 4); 487 get_bits(&alac->gb, 4);
488 488
489 get_bits(&alac->gb, 12); /* unknown, skip 12 bits */ 489 get_bits(&alac->gb, 12); /* unknown, skip 12 bits */
490 490
491 /* the output sample size is stored soon */ 491 /* the output sample size is stored soon */
492 hassize = get_bits(&alac->gb, 1); 492 hassize = get_bits1(&alac->gb);
493 493
494 wasted_bytes = get_bits(&alac->gb, 2); /* unknown ? */ 494 wasted_bytes = get_bits(&alac->gb, 2); /* unknown ? */
495 495
496 /* whether the frame is compressed */ 496 /* whether the frame is compressed */
497 isnotcompressed = get_bits(&alac->gb, 1); 497 isnotcompressed = get_bits1(&alac->gb);
498 498
499 if (hassize) { 499 if (hassize) {
500 /* now read the number of samples as a 32bit integer */ 500 /* now read the number of samples as a 32bit integer */
501 outputsamples = get_bits(&alac->gb, 32); 501 outputsamples = get_bits(&alac->gb, 32);
502 } else 502 } else