shithub: opus

Download patch

ref: e3ad4ea1cd4675b8254b778e3ccffc7ee469a7fd
parent: d19fb79b8d16a6d9db831bf20d368c8ae48138e4
author: Timothy B. Terriberry <[email protected]>
date: Thu May 23 15:33:34 EDT 2013

Move misplaced RESTORE_STACK.

Introduced in c152d602.

Thanks to Pedro Becerra for the report.

--- a/silk/NLSF_encode.c
+++ b/silk/NLSF_encode.c
@@ -131,6 +131,6 @@
     /* Decode */
     silk_NLSF_decode( pNLSF_Q15, NLSFIndices, psNLSF_CB );
 
-    return RD_Q25[ 0 ];
     RESTORE_STACK;
+    return RD_Q25[ 0 ];
 }