summaryrefslogtreecommitdiff
path: root/libswresample/resample_template.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2014-06-13 20:25:51 -0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-14 04:30:53 +0200
commit6b9685de3af045f6f92eeafed4160802b532d823 (patch)
tree7d6b89f186884452ba6794940a9a93ba74322099 /libswresample/resample_template.c
parent33834be9c804fbedc5c66fbabc7dfe4fd7feeb05 (diff)
downloadffmpeg-6b9685de3af045f6f92eeafed4160802b532d823.tar.gz
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@gmx.at>
Diffstat (limited to 'libswresample/resample_template.c')
-rw-r--r--libswresample/resample_template.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libswresample/resample_template.c b/libswresample/resample_template.c
index 73a672a4a3..65bde6e7e0 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;