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
179bf86f
Commit
179bf86f
authored
Jul 06, 2017
by
Derek Buitenhuis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opusdec: Remove dead code
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
f7daed85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
opusdec.c
libavcodec/opusdec.c
+1
-8
No files found.
libavcodec/opusdec.c
View file @
179bf86f
...
@@ -152,14 +152,7 @@ static int opus_init_resample(OpusStreamContext *s)
...
@@ -152,14 +152,7 @@ static int opus_init_resample(OpusStreamContext *s)
static
int
opus_decode_redundancy
(
OpusStreamContext
*
s
,
const
uint8_t
*
data
,
int
size
)
static
int
opus_decode_redundancy
(
OpusStreamContext
*
s
,
const
uint8_t
*
data
,
int
size
)
{
{
int
ret
;
int
ret
=
ff_opus_rc_dec_init
(
&
s
->
redundancy_rc
,
data
,
size
);
enum
OpusBandwidth
bw
=
s
->
packet
.
bandwidth
;
if
(
s
->
packet
.
mode
==
OPUS_MODE_SILK
&&
bw
==
OPUS_BANDWIDTH_MEDIUMBAND
)
bw
=
OPUS_BANDWIDTH_WIDEBAND
;
ret
=
ff_opus_rc_dec_init
(
&
s
->
redundancy_rc
,
data
,
size
);
if
(
ret
<
0
)
if
(
ret
<
0
)
goto
fail
;
goto
fail
;
ff_opus_rc_dec_raw_init
(
&
s
->
redundancy_rc
,
data
+
size
,
size
);
ff_opus_rc_dec_raw_init
(
&
s
->
redundancy_rc
,
data
+
size
,
size
);
...
...
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