aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flacdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-19 21:58:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-19 22:01:31 +0200
commit85044358f63f0158fb83712f659f6db5b454a7aa (patch)
treea29d74d69c953be07f3049542afb5659c8e87775 /libavcodec/flacdec.c
parent55ed91c8565a3c562d2982e1cd5e66df06c6c190 (diff)
parent45870f8b6eb3529992a4315a6957150124d7ca03 (diff)
downloadffmpeg-85044358f63f0158fb83712f659f6db5b454a7aa.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: Print full compiler identification, not only version number flacdec: reverse lpc coeff order, simplify filter x86: dsputil: drop some unused CPU flag debug code Conflicts: cmdutils.c configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/flacdec.c')
-rw-r--r--libavcodec/flacdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index d7cd94896c..f0b0b3e6f1 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -321,7 +321,7 @@ static int decode_subframe_lpc(FLACContext *s, int channel, int pred_order,
}
for (i = 0; i < pred_order; i++) {
- coeffs[i] = get_sbits(&s->gb, coeff_prec);
+ coeffs[pred_order - i - 1] = get_sbits(&s->gb, coeff_prec);
}
if (decode_residuals(s, channel, pred_order) < 0)