Move misplaced RESTORE_STACK.
authorTimothy B. Terriberry <tterribe@xiph.org>
Thu, 23 May 2013 22:54:55 +0000 (15:54 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Thu, 23 May 2013 22:54:55 +0000 (15:54 -0700)
Introduced in c152d602.

Thanks to Pedro Becerra for the report.

silk/VAD.c

index 58b506e..92b4a0e 100644 (file)
@@ -289,8 +289,8 @@ opus_int silk_VAD_GetSA_Q8(                                     /* O    Return v
         psEncC->input_quality_bands_Q15[ b ] = silk_sigm_Q15( silk_RSHIFT( SNR_Q7 - 16 * 128, 4 ) );
     }
 
-    return( ret );
     RESTORE_STACK;
+    return( ret );
 }
 
 /**************************/