mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/aacenc: use < 0 instead of != 0 for error checks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2580bae54a
commit
3fb726c6b4
|
@ -733,9 +733,9 @@ static av_cold int dsp_init(AVCodecContext *avctx, AACEncContext *s)
|
|||
ff_init_ff_sine_windows(10);
|
||||
ff_init_ff_sine_windows(7);
|
||||
|
||||
if (ret = ff_mdct_init(&s->mdct1024, 11, 0, 32768.0))
|
||||
if ((ret = ff_mdct_init(&s->mdct1024, 11, 0, 32768.0)) < 0)
|
||||
return ret;
|
||||
if (ret = ff_mdct_init(&s->mdct128, 8, 0, 32768.0))
|
||||
if ((ret = ff_mdct_init(&s->mdct128, 8, 0, 32768.0)) < 0)
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue