Browse code

avfilter/af_silenceremove: remove dead code

Fixes CID1237284

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2014/09/06 19:56:03
Showing 1 changed files
... ...
@@ -335,13 +335,10 @@ silence_copy:
335 335
                                 flush(out, outlink, &nb_samples_written, &ret);
336 336
                                 goto silence_trim;
337 337
                             }
338
-                        } else {
339
-                            s->mode = SILENCE_COPY_FLUSH;
340
-                            flush(out, outlink, &nb_samples_written, &ret);
341
-                            goto silence_copy_flush;
342 338
                         }
339
+                        s->mode = SILENCE_COPY_FLUSH;
343 340
                         flush(out, outlink, &nb_samples_written, &ret);
344
-                        break;
341
+                        goto silence_copy_flush;
345 342
                     }
346 343
                 }
347 344
             }