Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
a06fdadd
Commit
a06fdadd
authored
Jul 09, 2012
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alac: cosmetics: reindent after last commit
parent
d9837434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
alac.c
libavcodec/alac.c
+8
-8
No files found.
libavcodec/alac.c
View file @
a06fdadd
...
...
@@ -85,16 +85,16 @@ static inline int decode_scalar(GetBitContext *gb, int k, int readsamplesize)
/* use alternative encoding */
x
=
get_bits
(
gb
,
readsamplesize
);
}
else
if
(
k
!=
1
)
{
int
extrabits
=
show_bits
(
gb
,
k
);
int
extrabits
=
show_bits
(
gb
,
k
);
/* multiply x by 2^k - 1, as part of their strange algorithm */
x
=
(
x
<<
k
)
-
x
;
/* multiply x by 2^k - 1, as part of their strange algorithm */
x
=
(
x
<<
k
)
-
x
;
if
(
extrabits
>
1
)
{
x
+=
extrabits
-
1
;
skip_bits
(
gb
,
k
);
}
else
skip_bits
(
gb
,
k
-
1
);
if
(
extrabits
>
1
)
{
x
+=
extrabits
-
1
;
skip_bits
(
gb
,
k
);
}
else
skip_bits
(
gb
,
k
-
1
);
}
return
x
;
}
...
...
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