OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f95f6ab
)
mlpdec: Read context variable to local variable to make code cleaner.
author
Ramiro Polla
<ramiro.polla@gmail.com>
Sat, 18 Apr 2009 20:23:13 +0000
(20:23 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Sat, 18 Apr 2009 20:23:13 +0000
(20:23 +0000)
Originally committed as revision 18615 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mlpdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mlpdec.c
b/libavcodec/mlpdec.c
index
7b5ad80
..
bf490ab
100644
(file)
--- a/
libavcodec/mlpdec.c
+++ b/
libavcodec/mlpdec.c
@@
-849,6
+849,7
@@
static void rematrix_channels(MLPDecodeContext *m, unsigned int substr)
/* TODO: DSPContext? */
for (i = 0; i < s->blockpos; i++) {
+ int32_t bypassed_lsb = m->bypassed_lsbs[i][mat];
int32_t *samples = m->sample_buffer[i];
int64_t accum = 0;
@@
-861,8
+862,7
@@
static void rematrix_channels(MLPDecodeContext *m, unsigned int substr)
index += index2;
}
- samples[dest_ch] = ((accum >> 14) & mask)
- + m->bypassed_lsbs[i][mat];
+ samples[dest_ch] = ((accum >> 14) & mask) + bypassed_lsb;
}
}
}