[FFmpeg-devel] [PATCH] swr: remove unnecessary assignment.
Ronald S. Bultje
rsbultje at gmail.com
Sat Jun 14 02:25:51 CEST 2014
I don't see dst_incr/dst_incr_frac ever being changed from their
initial value (which is the inverse of this operation), so it seems
to me that this is a no-op.
---
libswresample/resample_template.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libswresample/resample_template.c b/libswresample/resample_template.c
index 3063c94..40def7a 100644
--- a/libswresample/resample_template.c
+++ b/libswresample/resample_template.c
@@ -203,7 +203,6 @@ int RENAME(swri_resample)(ResampleContext *c, DELEM *dst, const DELEM *src, int
if(update_ctx){
c->frac= frac;
c->index= index;
- c->dst_incr= dst_incr_frac + c->src_incr*dst_incr;
}
return dst_index;
--
1.8.5.5
More information about the ffmpeg-devel
mailing list