diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-06 12:56:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-06 21:36:56 +0200 |
commit | 1b2390e2bcdd09a6a3d614d1926ba0f540ea70d9 (patch) | |
tree | 96ae668b458c8d50a64ed968332243c1eeeec1e8 | |
parent | cbb277988afc7032e632393e2c96a70d4389ac4f (diff) | |
download | ffmpeg-streaming-1b2390e2bcdd09a6a3d614d1926ba0f540ea70d9.zip ffmpeg-streaming-1b2390e2bcdd09a6a3d614d1926ba0f540ea70d9.tar.gz |
avfilter/af_silenceremove: remove dead code
Fixes CID1237284
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/af_silenceremove.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libavfilter/af_silenceremove.c b/libavfilter/af_silenceremove.c index 3f6cb7a..02b64ce 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; } } } |