[FFmpeg-cvslog] avfilter/trim: remove duplicate assignment
Michael Niedermayer
git at videolan.org
Thu Jul 31 21:21:03 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul 31 20:53:15 2014 +0200| [fc19edd8f50051aad44ff85b736aecc57cb3abee] | committer: Michael Niedermayer
avfilter/trim: remove duplicate assignment
Found-by: CSA
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fc19edd8f50051aad44ff85b736aecc57cb3abee
---
libavfilter/trim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/trim.c b/libavfilter/trim.c
index 04e82da..468dc03 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;
More information about the ffmpeg-cvslog
mailing list