Move misplaced RESTORE_STACK.
authorTimothy B. Terriberry <tterribe@xiph.org>
Fri, 24 May 2013 02:33:34 +0000 (19:33 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Fri, 24 May 2013 02:33:34 +0000 (19:33 -0700)
Introduced in c152d602.

Thanks to Pedro Becerra for the report.

silk/NLSF_encode.c

index 4d74d73..9062885 100644 (file)
@@ -131,6 +131,6 @@ opus_int32 silk_NLSF_encode(                                    /* O    Returns
     /* Decode */
     silk_NLSF_decode( pNLSF_Q15, NLSFIndices, psNLSF_CB );
 
-    return RD_Q25[ 0 ];
     RESTORE_STACK;
+    return RD_Q25[ 0 ];
 }