diff options
author | Martin Storsjö <martin@martin.st> | 2010-11-12 15:28:02 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-11-12 15:28:02 +0300 |
commit | 4106b7f1cd7151804e1138c473550cf20354c39b (patch) | |
tree | aa834b0559feb0e806c3d87e9ff4aac116277c26 /libavcodec/adpcm.c | |
parent | f82e8f34822515292436efafee96ddef3af9a5d9 (diff) |
Reindent
Originally committed as revision 25732 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r-- | libavcodec/adpcm.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 9d63be41a2..bdcd985949 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -402,18 +402,18 @@ static void adpcm_compress_trellis(AVCodecContext *avctx, const short *samples, goto next_##NAME;\ }\ u = nodes_next[pos];\ - if(!u) {\ - assert(pathn < FREEZE_INTERVAL<<avctx->trellis);\ - u = t++;\ - nodes_next[pos] = u;\ - u->path = pathn++;\ - }\ - u->ssd = ssd;\ - u->step = STEP_INDEX;\ - u->sample2 = nodes[j]->sample1;\ - u->sample1 = dec_sample;\ - paths[u->path].nibble = nibble;\ - paths[u->path].prev = nodes[j]->path;\ + if(!u) {\ + assert(pathn < FREEZE_INTERVAL<<avctx->trellis);\ + u = t++;\ + nodes_next[pos] = u;\ + u->path = pathn++;\ + }\ + u->ssd = ssd;\ + u->step = STEP_INDEX;\ + u->sample2 = nodes[j]->sample1;\ + 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 \ * restore the heap property. */\ while (pos > 0) {\ |