shithub: aacenc

Download patch

ref: 14e9d3dcd6e7ac242f11208fb6db7a65d59a015f
parent: eb571ad2b621076f0493313f0b80e8c6d29f3a0e
author: knik <knik@users.sourceforge.net>
date: Wed Jul 19 10:43:46 EDT 2017

got rid of potentially-uninitialized-variable warning

--- a/libfaac/filtbank.c
+++ b/libfaac/filtbank.c
@@ -123,6 +123,7 @@
             else
                 first_window = hEncoder->sin_window_short;
             break;
+        default:
         case KBD_WINDOW:
             if ( (block_type == ONLY_LONG_WINDOW) || (block_type == LONG_SHORT_WINDOW))
                 first_window = hEncoder->kbd_window_long;
@@ -133,6 +134,7 @@
 
         switch (coderInfo->window_shape){
         case SINE_WINDOW:
+        default:
             if ( (block_type == ONLY_LONG_WINDOW) || (block_type == SHORT_LONG_WINDOW))
                 second_window = hEncoder->sin_window_long;
             else