[opus] Bug in getting result of check_control_input()

maks maksqwe1 at ukr.net
Fri Jan 31 14:00:49 PST 2014


opus\silk\enc_API.c
silk_Encode()

168:
if( ( ret = check_control_input( encControl ) != 0 ) ) {

priority of the '!=' operator is higher than '=' operator

fix:
if( ( ret = check_control_input( encControl ) ) != 0 ) {


More information about the opus mailing list