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
eb38d8fe
Commit
eb38d8fe
authored
Oct 22, 2012
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qdm2: remove unneeded checks for channel count
parent
be2ab8b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
qdm2.c
libavcodec/qdm2.c
+0
-8
No files found.
libavcodec/qdm2.c
View file @
eb38d8fe
...
@@ -544,10 +544,6 @@ static void fill_tone_level_array (QDM2Context *q, int flag)
...
@@ -544,10 +544,6 @@ static void fill_tone_level_array (QDM2Context *q, int flag)
int
i
,
sb
,
ch
,
sb_used
;
int
i
,
sb
,
ch
,
sb_used
;
int
tmp
,
tab
;
int
tmp
,
tab
;
// This should never happen
if
(
q
->
nb_channels
<=
0
)
return
;
for
(
ch
=
0
;
ch
<
q
->
nb_channels
;
ch
++
)
for
(
ch
=
0
;
ch
<
q
->
nb_channels
;
ch
++
)
for
(
sb
=
0
;
sb
<
30
;
sb
++
)
for
(
sb
=
0
;
sb
<
30
;
sb
++
)
for
(
i
=
0
;
i
<
8
;
i
++
)
{
for
(
i
=
0
;
i
<
8
;
i
++
)
{
...
@@ -643,10 +639,6 @@ static void fill_coding_method_array (sb_int8_array tone_level_idx, sb_int8_arra
...
@@ -643,10 +639,6 @@ static void fill_coding_method_array (sb_int8_array tone_level_idx, sb_int8_arra
int
add1
,
add2
,
add3
,
add4
;
int
add1
,
add2
,
add3
,
add4
;
int64_t
multres
;
int64_t
multres
;
// This should never happen
if
(
nb_channels
<=
0
)
return
;
if
(
!
superblocktype_2_3
)
{
if
(
!
superblocktype_2_3
)
{
/* This case is untested, no samples available */
/* This case is untested, no samples available */
SAMPLES_NEEDED
SAMPLES_NEEDED
...
...
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