Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
af048026
Commit
af048026
authored
Mar 27, 2009
by
Ramiro Polla
Browse files
mlpdec: output_shift is signed
Originally committed as revision 18208 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
43ee5fe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libavcodec/mlpdec.c
libavcodec/mlpdec.c
+1
-1
No files found.
libavcodec/mlpdec.c
View file @
af048026
...
@@ -625,7 +625,7 @@ static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp,
...
@@ -625,7 +625,7 @@ static int read_decoding_params(MLPDecodeContext *m, GetBitContext *gbp,
if
(
s
->
param_presence_flags
&
PARAM_OUTSHIFT
)
if
(
s
->
param_presence_flags
&
PARAM_OUTSHIFT
)
if
(
get_bits1
(
gbp
))
if
(
get_bits1
(
gbp
))
for
(
ch
=
0
;
ch
<=
s
->
max_matrix_channel
;
ch
++
)
{
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
"
,
dprintf
(
m
->
avctx
,
"output shift[%d] = %d
\n
"
,
ch
,
s
->
output_shift
[
ch
]);
ch
,
s
->
output_shift
[
ch
]);
/* TODO: validate */
/* TODO: validate */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment