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:
8b5941c
)
avcodec/dca: remove Rice code length limit
author
foo86
<foobaz86@gmail.com>
Fri, 13 May 2016 09:48:23 +0000
(12:48 +0300)
committer
James Almer
<jamrial@gmail.com>
Fri, 20 May 2016 17:11:49 +0000
(14:11 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/dca_xll.c
patch
|
blob
|
history
diff --git
a/libavcodec/dca_xll.c
b/libavcodec/dca_xll.c
index
316af27
..
e43ee6a
100644
(file)
--- a/
libavcodec/dca_xll.c
+++ b/
libavcodec/dca_xll.c
@@
-32,7
+32,7
@@
static int get_linear(GetBitContext *gb, int n)
static int get_rice_un(GetBitContext *gb, int k)
{
- unsigned int v = get_unary(gb, 1,
128
);
+ unsigned int v = get_unary(gb, 1,
get_bits_left(gb)
);
return (v << k) | get_bits_long(gb, k);
}