Mercurial > libavcodec.hg
diff alac.c @ 2967:ef2149182f1c libavcodec
COSMETICS: Remove all trailing whitespace.
author | diego |
---|---|
date | Sat, 17 Dec 2005 18:14:38 +0000 |
parents | 67ea9a5a8fff |
children | 0b546eab515d |
line wrap: on
line diff
--- a/alac.c Sat Dec 17 11:31:56 2005 +0000 +++ b/alac.c Sat Dec 17 18:14:38 2005 +0000 @@ -169,9 +169,9 @@ /* read k, that is bits as is */ k = 31 - rice_kmodifier - count_leading_zeros((history >> 9) + 3); - if (k < 0) + if (k < 0) k += rice_kmodifier; - else + else k = rice_kmodifier; if (k != 1) { @@ -444,7 +444,7 @@ /* initialize from the extradata */ if (!alac->context_initialized) { if (alac->avctx->extradata_size != ALAC_EXTRADATA_SIZE) { - av_log(NULL, AV_LOG_ERROR, "alac: expected %d extradata bytes\n", + av_log(NULL, AV_LOG_ERROR, "alac: expected %d extradata bytes\n", ALAC_EXTRADATA_SIZE); return input_buffer_size; } @@ -728,7 +728,7 @@ } else { av_log(NULL, AV_LOG_ERROR, "FIXME: unhandled prediction type: %i\n", prediction_type_b); } - } else { + } else { /* not compressed, easy case */ if (alac->setinfo_sample_size <= 16) { int i;