summaryrefslogtreecommitdiff
path: root/libavcodec/adpcm.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-11-20 11:24:19 +0000
committerMartin Storsjö <martin@martin.st>2010-11-20 11:24:19 +0000
commit1a68e7ed15b351fdb273906643224d2cf8142114 (patch)
treed1232f46a8275c6025c65c01e0c517d9ce054351 /libavcodec/adpcm.c
parentd9640a55ea28cbe0ac4bb24dac36a0aaa4d1f114 (diff)
adpcm: Fix a comment in the trellis heap code
This makes the wording consistent with how people usually talk about heaps. Originally committed as revision 25775 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r--libavcodec/adpcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 5e7c54f754..1e9ab5b943 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -420,7 +420,7 @@ static void adpcm_compress_trellis(AVCodecContext *avctx, const short *samples,
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;\