mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avfilter/af_afftdn: use av_assert0 for unreachable assert
This is unreachable anyway so performance is not an issue here. Allows guiding the compiler in all build modes to not emit a spurious warning here: warning: variable 'mag' is used uninitialized whenever switch default is taken
This commit is contained in:
parent
02306cbfee
commit
7e1d72589e
@ -379,7 +379,7 @@ static void process_frame(AVFilterContext *ctx,
|
||||
noisy_data[i] = mag = hypot(fft_data_dbl[i].re, fft_data_dbl[i].im);
|
||||
break;
|
||||
default:
|
||||
av_assert2(0);
|
||||
av_assert0(0);
|
||||
}
|
||||
|
||||
power = mag * mag;
|
||||
|
Loading…
Reference in New Issue
Block a user