[FFmpeg-devel] [PATCH] adpcm: Clarify a comment

Martin Storsjo martin
Wed Nov 3 20:07:26 CET 2010


---
 libavcodec/adpcm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 455b477..f298ef5 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -354,7 +354,7 @@ static void adpcm_compress_trellis(AVCodecContext *avctx, const short *samples,
         int sample = samples[i*stride];
         memset(nodes_next, 0, frontier*sizeof(TrellisNode*));
         for(j=0; j<frontier && nodes[j]; j++) {
-            // higher j have higher ssd already, so they're unlikely to use a suboptimal next sample too
+            // higher j have higher ssd already, so they're likely to yield a suboptimal next sample too
             const int range = (j < frontier/2) ? 1 : 0;
             const int step = nodes[j]->step;
             int nidx;
-- 
1.7.3.1




More information about the ffmpeg-devel mailing list