From fc19edd8f50051aad44ff85b736aecc57cb3abee Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Thu, 31 Jul 2014 20:53:15 +0200
Subject: [PATCH] avfilter/trim: remove duplicate assignment

Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavfilter/trim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/trim.c b/libavfilter/trim.c
index 04e82dab104..468dc03ca1e 100644
--- a/libavfilter/trim.c
+++ b/libavfilter/trim.c
@@ -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;
 
-- 
GitLab