Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
4ca6d206
Commit
4ca6d206
authored
Jul 01, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alsdec: remove dead assignments
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
3893feec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
alsdec.c
libavcodec/alsdec.c
+2
-2
No files found.
libavcodec/alsdec.c
View file @
4ca6d206
...
@@ -756,7 +756,7 @@ static int read_var_block_data(ALSDecContext *ctx, ALSBlockData *bd)
...
@@ -756,7 +756,7 @@ static int read_var_block_data(ALSDecContext *ctx, ALSBlockData *bd)
int
delta
[
8
];
int
delta
[
8
];
unsigned
int
k
[
8
];
unsigned
int
k
[
8
];
unsigned
int
b
=
av_clip
((
av_ceil_log2
(
bd
->
block_length
)
-
3
)
>>
1
,
0
,
5
);
unsigned
int
b
=
av_clip
((
av_ceil_log2
(
bd
->
block_length
)
-
3
)
>>
1
,
0
,
5
);
unsigned
int
i
=
start
;
unsigned
int
i
;
// read most significant bits
// read most significant bits
unsigned
int
high
;
unsigned
int
high
;
...
@@ -767,7 +767,7 @@ static int read_var_block_data(ALSDecContext *ctx, ALSBlockData *bd)
...
@@ -767,7 +767,7 @@ static int read_var_block_data(ALSDecContext *ctx, ALSBlockData *bd)
current_res
=
bd
->
raw_samples
+
start
;
current_res
=
bd
->
raw_samples
+
start
;
for
(
sb
=
0
;
sb
<
sub_blocks
;
sb
++
,
i
=
0
)
{
for
(
sb
=
0
;
sb
<
sub_blocks
;
sb
++
)
{
k
[
sb
]
=
s
[
sb
]
>
b
?
s
[
sb
]
-
b
:
0
;
k
[
sb
]
=
s
[
sb
]
>
b
?
s
[
sb
]
-
b
:
0
;
delta
[
sb
]
=
5
-
s
[
sb
]
+
k
[
sb
];
delta
[
sb
]
=
5
-
s
[
sb
]
+
k
[
sb
];
...
...
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