avfilter/af_ladspa: remove duplicate code lines
authorPaul B Mahol <onemda@gmail.com>
Fri, 24 Nov 2017 12:36:26 +0000 (13:36 +0100)
committerPaul B Mahol <onemda@gmail.com>
Fri, 24 Nov 2017 12:36:26 +0000 (13:36 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_ladspa.c

index 5532dac..3be26bc 100644 (file)
@@ -318,8 +318,6 @@ static int config_output(AVFilterLink *outlink)
 
         ret = 0;
     } else {
-        LADSPAContext *s = ctx->priv;
-
         outlink->sample_rate = s->sample_rate;
         outlink->time_base   = (AVRational){1, s->sample_rate};