[FFmpeg-cvslog] r25775 - trunk/libavcodec/adpcm.c

mstorsjo subversion
Sat Nov 20 12:24:19 CET 2010


Author: mstorsjo
Date: Sat Nov 20 12:24:19 2010
New Revision: 25775

Log:
adpcm: Fix a comment in the trellis heap code

This makes the wording consistent with how people usually talk about heaps.

Modified:
   trunk/libavcodec/adpcm.c

Modified: trunk/libavcodec/adpcm.c
==============================================================================
--- trunk/libavcodec/adpcm.c	Sat Nov 20 10:36:46 2010	(r25774)
+++ trunk/libavcodec/adpcm.c	Sat Nov 20 12:24:19 2010	(r25775)
@@ -420,7 +420,7 @@ static void adpcm_compress_trellis(AVCod
                     u->sample1 = dec_sample;\
                     paths[u->path].nibble = nibble;\
                     paths[u->path].prev = nodes[j]->path;\
-                    /* Sift the newly inserted node down in the heap to \
+                    /* Sift the newly inserted node up in the heap to \
                      * restore the heap property. */\
                     while (pos > 0) {\
                         int parent = (pos - 1) >> 1;\



More information about the ffmpeg-cvslog mailing list