Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
8a3bcbae
Commit
8a3bcbae
authored
Aug 08, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg_audio: comment unused variable
parent
500b3c2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/codec/mpeg_audio.c
modules/codec/mpeg_audio.c
+2
-2
No files found.
modules/codec/mpeg_audio.c
View file @
8a3bcbae
...
...
@@ -633,7 +633,7 @@ static int SyncInfo( uint32_t i_header, unsigned int * pi_channels,
};
int
i_version
,
i_mode
,
i_emphasis
;
bool
b_padding
,
b_mpeg_2_5
,
b_crc
;
bool
b_padding
,
b_mpeg_2_5
;
int
i_frame_size
=
0
;
int
i_bitrate_index
,
i_samplerate_index
;
int
i_max_bit_rate
;
...
...
@@ -641,7 +641,7 @@ static int SyncInfo( uint32_t i_header, unsigned int * pi_channels,
b_mpeg_2_5
=
1
-
((
i_header
&
0x100000
)
>>
20
);
i_version
=
1
-
((
i_header
&
0x80000
)
>>
19
);
*
pi_layer
=
4
-
((
i_header
&
0x60000
)
>>
17
);
b_crc
=
!
((
i_header
>>
16
)
&
0x01
);
//bool
b_crc = !((i_header >> 16) & 0x01);
i_bitrate_index
=
(
i_header
&
0xf000
)
>>
12
;
i_samplerate_index
=
(
i_header
&
0xc00
)
>>
10
;
b_padding
=
(
i_header
&
0x200
)
>>
9
;
...
...
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