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:
43ee5fe
)
mlpdec: output_shift is signed
author
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 27 Mar 2009 23:45:52 +0000
(23:45 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 27 Mar 2009 23:45:52 +0000
(23:45 +0000)
Originally committed as revision 18208 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mlpdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mlpdec.c
b/libavcodec/mlpdec.c
index
c286c3b
..
2f5f994
100644
(file)
--- a/
libavcodec/mlpdec.c
+++ b/
libavcodec/mlpdec.c
@@
-625,7
+625,7
@@
static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp,
if (s->param_presence_flags & PARAM_OUTSHIFT)
if (get_bits1(gbp))
for (ch = 0; ch <= s->max_matrix_channel; ch++) {
- s->output_shift[ch] = get_bits(gbp, 4);
+ s->output_shift[ch] = get_
s
bits(gbp, 4);
dprintf(m->avctx, "output shift[%d] = %d\n",
ch, s->output_shift[ch]);
/* TODO: validate */