avfilter/trim: remove duplicate assignment
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 31 Jul 2014 18:53:15 +0000 (20:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 31 Jul 2014 18:53:15 +0000 (20:53 +0200)
Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/trim.c

index 04e82da..468dc03 100644 (file)
@@ -244,7 +244,7 @@ static int atrim_filter_frame(AVFilterLink *inlink, AVFrame *frame)
 {
     AVFilterContext *ctx = inlink->dst;
     TrimContext       *s = ctx->priv;
-    int64_t start_sample, end_sample = frame->nb_samples;
+    int64_t start_sample, end_sample;
     int64_t pts;
     int drop;