[FFmpeg-cvslog] swr: remove unnecessary assignment.
Ronald S. Bultje
git at videolan.org
Sat Jun 14 04:48:03 CEST 2014
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Fri Jun 13 20:25:51 2014 -0400| [6b9685de3af045f6f92eeafed4160802b532d823] | committer: Michael Niedermayer
swr: remove unnecessary assignment.
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.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b9685de3af045f6f92eeafed4160802b532d823
---
libswresample/resample_template.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libswresample/resample_template.c b/libswresample/resample_template.c
index 73a672a..65bde6e 100644
--- a/libswresample/resample_template.c
+++ b/libswresample/resample_template.c
@@ -248,7 +248,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;
More information about the ffmpeg-cvslog
mailing list