obs-filters: Remove redundant code
This variable was always being set to that value regardless a few lines below.
This commit is contained in:
parent
155ddf8996
commit
6fcb5372e9
@ -206,9 +206,7 @@ static struct obs_audio_data *noise_suppress_filter_audio(void *data,
|
||||
if (!ng->states[0])
|
||||
return audio;
|
||||
|
||||
if (!ng->last_timestamp) {
|
||||
ng->last_timestamp = audio->timestamp;
|
||||
} else {
|
||||
if (ng->last_timestamp) {
|
||||
int64_t diff = llabs((int64_t)ng->last_timestamp -
|
||||
(int64_t)audio->timestamp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user