mirror of
https://github.com/mpv-player/mpv
synced 2025-02-21 07:16:56 +00:00
Cosmetics: fix some compiler warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13132 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8f074d2414
commit
1642ed2fc3
@ -373,6 +373,7 @@ vobsub_parse_custom_colors (mkv_track_t *t, const char *start)
|
||||
{
|
||||
int use_custom_colors, i;
|
||||
|
||||
use_custom_colors = 0;
|
||||
start += 14;
|
||||
while (isspace(*start))
|
||||
start++;
|
||||
@ -2343,6 +2344,7 @@ demux_mkv_read_block_lacing (uint8_t *buffer, uint64_t *size,
|
||||
int i;
|
||||
|
||||
*all_lace_sizes = NULL;
|
||||
lace_size = NULL;
|
||||
/* lacing flags */
|
||||
flags = *buffer++;
|
||||
(*size)--;
|
||||
|
@ -51,7 +51,7 @@ ebml_read_vlen_uint (uint8_t *buffer, int *length)
|
||||
j = i+1;
|
||||
if (length)
|
||||
*length = j;
|
||||
if ((num &= (len_mask - 1)) == len_mask - 1)
|
||||
if ((int)(num &= (len_mask - 1)) == len_mask - 1)
|
||||
num_ffs++;
|
||||
while (i--)
|
||||
{
|
||||
@ -99,7 +99,7 @@ ebml_read_length (stream_t *s, int *length)
|
||||
j = i+1;
|
||||
if (length)
|
||||
*length = j;
|
||||
if ((len &= (len_mask - 1)) == len_mask - 1)
|
||||
if ((int)(len &= (len_mask - 1)) == len_mask - 1)
|
||||
num_ffs++;
|
||||
while (i--)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user