Browse Source

Fix a few debug messages

pull/2/head
Rémi Denis-Courmont 15 years ago
parent
commit
a7f6a75da3
  1. 5
      modules/access/http.c
  2. 2
      modules/codec/quicktime.c
  3. 24
      modules/codec/svcdsub.c

5
modules/access/http.c

@ -490,14 +490,11 @@ connect:
if( !vlc_object_alive (p_access) || Connect( p_access, 0 ) )
goto error;
#ifndef NDEBUG
case 0:
break;
default:
msg_Err( p_access, "You should not be here" );
abort();
#endif
assert(0);
}
if( p_sys->i_code == 401 )

2
modules/codec/quicktime.c

@ -912,7 +912,7 @@ static picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
p_sys->i_late = 0;
}
#ifndef NDEBUG
msg_Dbg( p_dec, "bufsize: %d", (int)p_block->i_buffer);
msg_Dbg( p_dec, "bufsize: %zu", p_block->i_buffer);
#endif
if( p_sys->i_late > 10 )

24
modules/codec/svcdsub.c

@ -394,20 +394,18 @@ static void ParseHeader( decoder_t *p_dec, block_t *p_block )
p_sys->metadata_length = p_sys->i_image_offset;
#ifndef NDEBUG
msg_Dbg( p_dec, "x-start: %d, y-start: %d, width: %d, height %d, "
"spu size: %zu, duration: %"PRIu64" (d:%zu p:%"PRIu16")",
p_sys->i_x_start, p_sys->i_y_start,
p_sys->i_width, p_sys->i_height,
p_sys->i_spu_size, p_sys->i_duration,
p_sys->i_image_length, p_sys->i_image_offset);
for( i = 0; i < 4; i++ )
{
msg_Dbg( p_dec, "x-start: %d, y-start: %d, width: %d, height %d, "
"spu size: %zu, duration: %"PRIu64" (d:%zu p:%"PRIu16")",
p_sys->i_x_start, p_sys->i_y_start,
p_sys->i_width, p_sys->i_height,
p_sys->i_spu_size, p_sys->i_duration,
p_sys->i_image_length, p_sys->i_image_offset);
for( i = 0; i < 4; i++ )
{
msg_Dbg( p_dec, "palette[%d]= T: %2x, Y: %2x, u: %2x, v: %2x", i,
p_sys->p_palette[i][3], p_sys->p_palette[i][0],
p_sys->p_palette[i][1], p_sys->p_palette[i][2] );
}
msg_Dbg( p_dec, "palette[%d]= T: %2x, Y: %2x, u: %2x, v: %2x", i,
p_sys->p_palette[i][3], p_sys->p_palette[i][0],
p_sys->p_palette[i][1], p_sys->p_palette[i][2] );
}
#endif
}

Loading…
Cancel
Save