Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
8f21522c
Commit
8f21522c
authored
Feb 26, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flac: Fix compilation warnings about signed vs unsigned
parent
376853e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/packetizer/flac.c
modules/packetizer/flac.c
+5
-4
No files found.
modules/packetizer/flac.c
View file @
8f21522c
...
...
@@ -84,8 +84,9 @@ struct decoder_sys_t
date_t
end_date
;
mtime_t
i_pts
;
int
i_frame_size
,
i_frame_length
,
i_bits_per_sample
;
unsigned
int
i_rate
,
i_channels
;
int
i_frame_length
;
size_t
i_frame_size
;
unsigned
int
i_rate
,
i_channels
,
i_bits_per_sample
;
};
enum
...
...
@@ -104,7 +105,7 @@ enum
static
block_t
*
Packetize
(
decoder_t
*
,
block_t
**
);
static
int
SyncInfo
(
decoder_t
*
,
uint8_t
*
,
unsigned
int
*
,
unsigned
int
*
,
int
*
);
unsigned
int
*
,
unsigned
int
*
);
static
uint64_t
read_utf8
(
const
uint8_t
*
p_buf
,
int
*
pi_read
);
static
uint8_t
flac_crc8
(
const
uint8_t
*
data
,
unsigned
len
);
...
...
@@ -371,7 +372,7 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
static
int
SyncInfo
(
decoder_t
*
p_dec
,
uint8_t
*
p_buf
,
unsigned
int
*
pi_channels
,
unsigned
int
*
pi_sample_rate
,
int
*
pi_bits_per_sample
)
unsigned
int
*
pi_bits_per_sample
)
{
decoder_sys_t
*
p_sys
=
p_dec
->
p_sys
;
int
i_header
,
i_temp
,
i_read
;
...
...
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