changeset 13131:ab937f4a17ad

Cosmetics: fix some compiler warnings.
author mosu
date Wed, 25 Aug 2004 07:52:52 +0000
parents 96784ad2c469
children d1e1de316459
files libmpdemux/demux_mkv.c libmpdemux/ebml.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Wed Aug 25 01:06:26 2004 +0000
+++ b/libmpdemux/demux_mkv.c	Wed Aug 25 07:52:52 2004 +0000
@@ -373,6 +373,7 @@
 {
   int use_custom_colors, i;
 
+  use_custom_colors = 0;
   start += 14;
   while (isspace(*start))
     start++;
@@ -2343,6 +2344,7 @@
   int i;
 
   *all_lace_sizes = NULL;
+  lace_size = NULL;
   /* lacing flags */
   flags = *buffer++;
   (*size)--;
--- a/libmpdemux/ebml.c	Wed Aug 25 01:06:26 2004 +0000
+++ b/libmpdemux/ebml.c	Wed Aug 25 07:52:52 2004 +0000
@@ -51,7 +51,7 @@
   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 @@
   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--)
     {