opus icon indicating copy to clipboard operation
opus copied to clipboard

Close warning in opus_encoder.c while enable fuzzing

Open willson-chen opened this issue 6 years ago • 1 comments

stereo_voice_threshold, stereo_music_threhold and mode_threshold, these var only used in fuzzing.

willson-chen avatar Aug 22 '19 01:08 willson-chen

There are two warnings left.

celt/rate.c:251:82: warning: unused parameter ‘prev’ [-Wunused-parameter]
       int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwidth)
                                                                                  ^~~~
celt/rate.c:251:92: warning: unused parameter ‘signalBandwidth’ [-Wunused-parameter]
       int *ebits, int *fine_priority, int C, int LM, ec_ctx *ec, int encode, int prev, int signalBandwidth)
                                                                                            ^~~~~~~~~~~~~~~

These two input var can't be excluded unless modifing the function declaration.

willson-chen avatar Aug 22 '19 11:08 willson-chen

Seems to be fixed. Please re-open if not

jmvalin avatar Mar 15 '24 03:03 jmvalin