diff options
author | Jakub Stachowski <qbast@go2.pl> | 2012-05-02 00:33:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-02 09:04:34 +0200 |
commit | 8501bed08ce44e30a8bf926fe6700225d65d7b24 (patch) | |
tree | 1226d4109106c598c3c9241adbe54e124042cde0 | |
parent | 29ec5c1102374c2a0f552b17c9ccce46205f3da1 (diff) | |
download | ffmpeg-8501bed08ce44e30a8bf926fe6700225d65d7b24.tar.gz |
Don't restrict reverse decorrelation to both coded channels. It is also used for mono data.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/wmalosslessdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index f4166d338e..48b767b18a 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -793,7 +793,7 @@ static void revert_inter_ch_decorr(WmallDecodeCtx *s, int tile_size) { if (s->num_channels != 2) return; - else if (s->is_channel_coded[0] && s->is_channel_coded[1]) { + else { int icoef; for (icoef = 0; icoef < tile_size; icoef++) { s->channel_residues[0][icoef] -= s->channel_residues[1][icoef] >> 1; |