summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-05 22:55:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-06 02:51:26 +0100
commitb6a7f66f9329c212d7b221e4b278d6d5c0d2ef3c (patch)
tree2eab10dd8fb4fe47db81de46b8b95511ada80983 /libavcodec
parentd3451a9c0fedfbb249d655c020678201f0238fe4 (diff)
downloadffmpeg-streaming-b6a7f66f9329c212d7b221e4b278d6d5c0d2ef3c.zip
ffmpeg-streaming-b6a7f66f9329c212d7b221e4b278d6d5c0d2ef3c.tar.gz
resample: remove disabled debug code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/resample2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/resample2.c b/libavcodec/resample2.c
index 3a3cd13..4cdb0e5 100644
--- a/libavcodec/resample2.c
+++ b/libavcodec/resample2.c
@@ -313,13 +313,6 @@ int av_resample(AVResampleContext *c, short *dst, short *src, int *consumed, int
c->dst_incr= dst_incr_frac + c->src_incr*dst_incr;
c->compensation_distance= compensation_distance;
}
-#if 0
- if(update_ctx && !c->compensation_distance){
-#undef rand
- av_resample_compensate(c, rand() % (8000*2) - 8000, 8000*2);
-av_log(NULL, AV_LOG_DEBUG, "%d %d %d\n", c->dst_incr, c->ideal_dst_incr, c->compensation_distance);
- }
-#endif
return dst_index;
}
OpenPOWER on IntegriCloud