Mercurial > libavcodec.hg
comparison alsdec.c @ 12051:3798d134f330 libavcodec
Grammar fixes
author | mru |
---|---|
date | Fri, 02 Jul 2010 00:03:48 +0000 |
parents | fdafbcef52f5 |
children | 8b28e74de2c0 |
comparison
equal
deleted
inserted
replaced
12050:a3fe680377aa | 12051:3798d134f330 |
---|---|
452 (*num_blocks)++; | 452 (*num_blocks)++; |
453 } | 453 } |
454 } | 454 } |
455 | 455 |
456 | 456 |
457 /** Read and decodes a Rice codeword. | 457 /** Read and decode a Rice codeword. |
458 */ | 458 */ |
459 static int32_t decode_rice(GetBitContext *gb, unsigned int k) | 459 static int32_t decode_rice(GetBitContext *gb, unsigned int k) |
460 { | 460 { |
461 int max = get_bits_left(gb) - k; | 461 int max = get_bits_left(gb) - k; |
462 int q = get_unary(gb, 0, max); | 462 int q = get_unary(gb, 0, max); |
488 | 488 |
489 cof[k] = par[k]; | 489 cof[k] = par[k]; |
490 } | 490 } |
491 | 491 |
492 | 492 |
493 /** Read block switching field if necessary and sets actual block sizes. | 493 /** Read block switching field if necessary and set actual block sizes. |
494 * Also assures that the block sizes of the last frame correspond to the | 494 * Also assure that the block sizes of the last frame correspond to the |
495 * actual number of samples. | 495 * actual number of samples. |
496 */ | 496 */ |
497 static void get_block_sizes(ALSDecContext *ctx, unsigned int *div_blocks, | 497 static void get_block_sizes(ALSDecContext *ctx, unsigned int *div_blocks, |
498 uint32_t *bs_info) | 498 uint32_t *bs_info) |
499 { | 499 { |
978 | 978 |
979 return 0; | 979 return 0; |
980 } | 980 } |
981 | 981 |
982 | 982 |
983 /** Read and decodes block data successively. | 983 /** Read and decode block data successively. |
984 */ | 984 */ |
985 static int read_decode_block(ALSDecContext *ctx, ALSBlockData *bd) | 985 static int read_decode_block(ALSDecContext *ctx, ALSBlockData *bd) |
986 { | 986 { |
987 int ret; | 987 int ret; |
988 | 988 |