From 0aed5e9fb895a31c43ff6ab4edfecb5be372f704 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Mon, 13 Apr 2009 18:07:02 +0000 Subject: [PATCH] Skip loop iterations which are no-ops due to data1[-lag..-1] being zero. Originally committed as revision 18498 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/flacenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 3c73277..e8e5674 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -594,7 +594,7 @@ void ff_flac_compute_autocorr(const int32_t *data, int len, int lag, for(j=0; j