OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ec5c1
)
Don't restrict reverse decorrelation to both coded channels. It is also used for...
author
Jakub Stachowski
<qbast@go2.pl>
Tue, 1 May 2012 22:33:17 +0000
(
00:33
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 2 May 2012 07:04:34 +0000
(09:04 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/wmalosslessdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/wmalosslessdec.c
b/libavcodec/wmalosslessdec.c
index
f4166d3
..
48b767b
100644
(file)
--- 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;