Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
455
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
53f36454
Commit
53f36454
authored
3 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
mpegaudio: use restrict qualifier
parent
ffb55802
No related branches found
Branches containing commit
No related tags found
1 merge request
!953
RTP MPEG 1/2 payload formats
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/packetizer/mpegaudio.h
+8
-6
8 additions, 6 deletions
modules/packetizer/mpegaudio.h
with
8 additions
and
6 deletions
modules/packetizer/mpegaudio.h
+
8
−
6
View file @
53f36454
...
...
@@ -29,12 +29,14 @@
/*****************************************************************************
* SyncInfo: parse MPEG audio sync info
*****************************************************************************/
static
int
SyncInfo
(
uint32_t
i_header
,
unsigned
int
*
pi_channels
,
unsigned
int
*
pi_channels_conf
,
unsigned
int
*
pi_chan_mode
,
unsigned
int
*
pi_sample_rate
,
unsigned
int
*
pi_bit_rate
,
unsigned
int
*
pi_frame_length
,
unsigned
int
*
pi_max_frame_size
,
unsigned
int
*
pi_layer
)
static
int
SyncInfo
(
uint32_t
i_header
,
unsigned
int
*
restrict
pi_channels
,
unsigned
int
*
restrict
pi_channels_conf
,
unsigned
int
*
restrict
pi_chan_mode
,
unsigned
int
*
restrict
pi_sample_rate
,
unsigned
int
*
restrict
pi_bit_rate
,
unsigned
int
*
restrict
pi_frame_length
,
unsigned
int
*
restrict
pi_max_frame_size
,
unsigned
int
*
restrict
pi_layer
)
{
static
const
int
ppi_bitrate
[
2
][
3
][
16
]
=
{
...
...
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