From 1b2390e2bcdd09a6a3d614d1926ba0f540ea70d9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 6 Sep 2014 12:56:03 +0200 Subject: avfilter/af_silenceremove: remove dead code Fixes CID1237284 Reviewed-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavfilter/af_silenceremove.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libavfilter/af_silenceremove.c') diff --git a/libavfilter/af_silenceremove.c b/libavfilter/af_silenceremove.c index 3f6cb7a550..02b64cefec 100644 --- a/libavfilter/af_silenceremove.c +++ b/libavfilter/af_silenceremove.c @@ -335,13 +335,10 @@ silence_copy: flush(out, outlink, &nb_samples_written, &ret); goto silence_trim; } - } else { - s->mode = SILENCE_COPY_FLUSH; - flush(out, outlink, &nb_samples_written, &ret); - goto silence_copy_flush; } + s->mode = SILENCE_COPY_FLUSH; flush(out, outlink, &nb_samples_written, &ret); - break; + goto silence_copy_flush; } } } -- cgit v1.2.3