Skip to content
Snippets Groups Projects
Commit 53f36454 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

mpegaudio: use restrict qualifier

parent ffb55802
No related branches found
No related tags found
1 merge request!953RTP MPEG 1/2 payload formats
......@@ -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] =
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment