mirror of
https://github.com/xiph/opus.git
synced 2025-06-05 15:03:39 +00:00
Fixes internal check_control_input() error checking.
The code was wrong, but did not have any impact on user-visible behaviour because all it did was change an internal-only error code. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
This commit is contained in:
parent
e318744469
commit
e40105f4db
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ opus_int silk_Encode( /* O Returns error co
|
|||
psEnc->state_Fxx[ 0 ].sCmn.nFramesEncoded = psEnc->state_Fxx[ 1 ].sCmn.nFramesEncoded = 0;
|
||||
|
||||
/* Check values in encoder control structure */
|
||||
if( ( ret = check_control_input( encControl ) != 0 ) ) {
|
||||
if( ( ret = check_control_input( encControl ) ) != 0 ) {
|
||||
silk_assert( 0 );
|
||||
RESTORE_STACK;
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue