[SCM] libav/experimental: adpcm: Fix a comment in the trellis heap code
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:19:08 UTC 2013
The following commit has been merged in the experimental branch:
commit 1a68e7ed15b351fdb273906643224d2cf8142114
Author: Martin Storsjö <martin at martin.st>
Date: Sat Nov 20 11:24:19 2010 +0000
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
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 5e7c54f..1e9ab5b 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;\
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list