[FFmpeg-cvslog] r9791 - trunk/libavcodec/alac.c

vitor subversion
Tue Jul 24 20:21:40 CEST 2007


Author: vitor
Date: Tue Jul 24 20:21:40 2007
New Revision: 9791

Log:
Minor cosmetics

Modified:
   trunk/libavcodec/alac.c

Modified: trunk/libavcodec/alac.c
==============================================================================
--- trunk/libavcodec/alac.c	(original)
+++ trunk/libavcodec/alac.c	Tue Jul 24 20:21:40 2007
@@ -529,9 +529,8 @@ static int alac_decode_frame(AVCodecCont
                 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(AVCodecCont
     }
 
     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(AVCodecCont
             }
         }
         break;
-    }
     case 20:
     case 24:
     case 32:




More information about the ffmpeg-cvslog mailing list