summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2007-07-24 18:21:40 +0000
committerVitor Sessak <vitor1001@gmail.com>2007-07-24 18:21:40 +0000
commitd58d7ade786a6393e3ef6be98ad2026b1d34ee88 (patch)
tree6a2654213b258e848f1a8cfacc35dc50b04289c8 /libavcodec/alac.c
parente4f42564bbde2bb5224cddfb410d3c7db58facc9 (diff)
Minor cosmetics
Originally committed as revision 9791 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 03f9ae3f39..8bf8ee1eae 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -529,9 +529,8 @@ static int alac_decode_frame(AVCodecContext *avctx,
predictor_coef_table[chan][i] = (int16_t)get_bits(&alac->gb, 16);
}
- if (wasted_bytes) {
+ if (wasted_bytes)
av_log(avctx, AV_LOG_ERROR, "FIXME: unimplemented, unhandling of wasted_bytes\n");
- }
for (chan = 0; chan < channels; chan++) {
bastardized_rice_decompress(alac,
@@ -597,7 +596,7 @@ static int alac_decode_frame(AVCodecContext *avctx,
}
switch(alac->setinfo_sample_size) {
- case 16: {
+ case 16:
if (channels == 2) {
deinterlace_16(alac->outputsamples_buffer,
(int16_t*)outbuffer,
@@ -613,7 +612,6 @@ static int alac_decode_frame(AVCodecContext *avctx,
}
}
break;
- }
case 20:
case 24:
case 32: