0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02: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:
mosu 2004-08-25 07:52:52 +00:00
parent 8f074d2414
commit 1642ed2fc3
2 changed files with 4 additions and 2 deletions

View File

@ -373,6 +373,7 @@ vobsub_parse_custom_colors (mkv_track_t *t, const char *start)
{ {
int use_custom_colors, i; int use_custom_colors, i;
use_custom_colors = 0;
start += 14; start += 14;
while (isspace(*start)) while (isspace(*start))
start++; start++;
@ -2343,6 +2344,7 @@ demux_mkv_read_block_lacing (uint8_t *buffer, uint64_t *size,
int i; int i;
*all_lace_sizes = NULL; *all_lace_sizes = NULL;
lace_size = NULL;
/* lacing flags */ /* lacing flags */
flags = *buffer++; flags = *buffer++;
(*size)--; (*size)--;

View File

@ -51,7 +51,7 @@ ebml_read_vlen_uint (uint8_t *buffer, int *length)
j = i+1; j = i+1;
if (length) if (length)
*length = j; *length = j;
if ((num &= (len_mask - 1)) == len_mask - 1) if ((int)(num &= (len_mask - 1)) == len_mask - 1)
num_ffs++; num_ffs++;
while (i--) while (i--)
{ {
@ -99,7 +99,7 @@ ebml_read_length (stream_t *s, int *length)
j = i+1; j = i+1;
if (length) if (length)
*length = j; *length = j;
if ((len &= (len_mask - 1)) == len_mask - 1) if ((int)(len &= (len_mask - 1)) == len_mask - 1)
num_ffs++; num_ffs++;
while (i--) while (i--)
{ {