diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-02 08:54:30 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-02 08:54:30 -0500 |
commit | 3a1867deac3112b925648b07737be26f4b13f33a (patch) | |
tree | d108346ef864a6b5851cb2df777b0f017939c88e /libavcodec | |
parent | 513c238fa9fab8d8c5121a08a4bd884a1e76b12b (diff) | |
download | ffmpeg-3a1867deac3112b925648b07737be26f4b13f33a.tar.gz |
wavpack: fix typos in previous cosmetic clean-up commit
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wavpack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index 6e90f512c8..6896877fca 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -759,7 +759,7 @@ static int wavpack_decode_block(AVCodecContext *avctx, int block_no, void *samples = data; int samplecount; int got_terms = 0, got_weights = 0, got_samples = 0, - got_entropy = 0, got_bs = 0, got_float = 0; got_hybrid = 0; + got_entropy = 0, got_bs = 0, got_float = 0, got_hybrid = 0; const uint8_t *orig_buf = buf; const uint8_t *buf_end = buf + buf_size; int i, j, id, size, ssize, weights, t; @@ -887,7 +887,7 @@ static int wavpack_decode_block(AVCodecContext *avctx, int block_no, continue; } t = 0; - for i = s->terms - 1; (i >= 0) && (t < size); i--) { + for (i = s->terms - 1; (i >= 0) && (t < size); i--) { if (s->decorr[i].value > 8) { s->decorr[i].samplesA[0] = wp_exp2(AV_RL16(buf)); buf += 2; s->decorr[i].samplesA[1] = wp_exp2(AV_RL16(buf)); buf += 2; |