[FFmpeg-devel] [PATCH] avfilter/af_silenceremove: remove dead code
Paul B Mahol
onemda at gmail.com
Sat Sep 6 18:47:24 CEST 2014
On 9/6/14, Michael Niedermayer <michaelni at gmx.at> wrote:
> Fixes CID1237284
>
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> libavfilter/af_silenceremove.c | 7 ++-----
> 1 file 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;
> }
> }
> }
> --
> 1.7.9.5
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
ok
More information about the ffmpeg-devel
mailing list