obs-filters: Remove redundant code

This variable was always being set to that value regardless a few lines
below.
This commit is contained in:
jp9000 2016-07-26 04:53:46 -07:00
parent 155ddf8996
commit 6fcb5372e9

View File

@ -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);