Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Traud
Opus
Commits
dabdb32c
Commit
dabdb32c
authored
11 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Oops, thanks to Mark Harris for spotting this!
parent
58042adc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/opus_decoder.c
+1
-1
1 addition, 1 deletion
src/opus_decoder.c
src/opus_private.h
+2
-2
2 additions, 2 deletions
src/opus_private.h
with
3 additions
and
3 deletions
src/opus_decoder.c
+
1
−
1
View file @
dabdb32c
...
...
@@ -762,7 +762,7 @@ int opus_packet_parse(const unsigned char *data, opus_int32 len,
int
opus_decode_native
(
OpusDecoder
*
st
,
const
unsigned
char
*
data
,
opus_int32
len
,
opus_val16
*
pcm
,
int
frame_size
,
int
decode_fec
,
int
self_delimited
,
int
*
packet_offset
,
int
soft_clip
)
int
self_delimited
,
opus_
int
32
*
packet_offset
,
int
soft_clip
)
{
int
i
,
nb_samples
;
int
count
,
offset
;
...
...
This diff is collapsed.
Click to expand it.
src/opus_private.h
+
2
−
2
View file @
dabdb32c
...
...
@@ -104,7 +104,7 @@ opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_
int
opus_decode_native
(
OpusDecoder
*
st
,
const
unsigned
char
*
data
,
opus_int32
len
,
opus_val16
*
pcm
,
int
frame_size
,
int
decode_fec
,
int
self_delimited
,
int
*
packet_offset
,
int
soft_clip
);
opus_
int
32
*
packet_offset
,
int
soft_clip
);
/* Make sure everything's aligned to sizeof(void *) bytes */
static
inline
int
align
(
int
i
)
...
...
@@ -115,7 +115,7 @@ static inline int align(int i)
int
opus_packet_parse_impl
(
const
unsigned
char
*
data
,
opus_int32
len
,
int
self_delimited
,
unsigned
char
*
out_toc
,
const
unsigned
char
*
frames
[
48
],
opus_int16
size
[
48
],
int
*
payload_offset
,
int
*
opus_int32
);
int
*
payload_offset
,
opus_int32
*
packet_offset
);
opus_int32
opus_repacketizer_out_range_impl
(
OpusRepacketizer
*
rp
,
int
begin
,
int
end
,
unsigned
char
*
data
,
opus_int32
maxlen
,
int
self_delimited
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment