Changeset 3ccefd743ac2497a40acf007ba1a4d041b81d2a8

Show
Ignore:
Timestamp:
07/03/08 19:47:02 (2 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1215107222 +0300
git-parent:

[266960857417c80ac2ab8c39ae2745361551ea45]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1215106761 +0300
Message:

Format string fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/v4l2/v4l2.c

    rb674dab r3ccefd7  
    16301630            if( i_correction_delta > p_sys->i_audio_max_frame_size ) 
    16311631            { 
    1632                 msg_Warn( p_demux, "ALSA read overrun (%d > %d)", 
     1632                msg_Warn( p_demux, "ALSA read overrun (%zu > %zu)", 
    16331633                          i_correction_delta, p_sys->i_audio_max_frame_size ); 
    16341634                i_correction_delta = p_sys->i_audio_max_frame_size; 
  • modules/access_filter/bandwidth.c

    r3561b9b r3ccefd7  
    145145    if (len > delta) 
    146146    { 
    147         msg_Dbg (access, "reading %u bytes instead of %u", (unsigned)delta, 
     147        msg_Dbg (access, "reading %"PRIu64" bytes instead of %zu", delta, 
    148148                 len); 
    149149        len = (int)delta; 
  • modules/codec/adpcm.c

    r3561b9b r3ccefd7  
    203203        p_sys->i_block = (p_sys->codec == ADPCM_IMA_QT) ? 
    204204            34 * p_dec->fmt_in.audio.i_channels : 1024; 
    205         msg_Warn( p_dec, "block size undefined, using %d", p_sys->i_block ); 
     205        msg_Warn( p_dec, "block size undefined, using %zu", p_sys->i_block ); 
    206206    } 
    207207    else 
  • modules/codec/avcodec/audio.c

    r37402ad r3ccefd7  
    294294    { 
    295295        if( i_used < 0 ) 
    296             msg_Warn( p_dec, "cannot decode one frame (%d bytes)", 
     296            msg_Warn( p_dec, "cannot decode one frame (%zu bytes)", 
    297297                      p_block->i_buffer ); 
    298298 
  • modules/codec/cinepak.c

    r3561b9b r3ccefd7  
    155155    if( i_status < 0 ) 
    156156    { 
    157         msg_Warn( p_dec, "cannot decode one frame (%d bytes)", 
     157        msg_Warn( p_dec, "cannot decode one frame (%zu bytes)", 
    158158                  p_block->i_buffer ); 
    159159        block_Release( p_block ); 
  • modules/codec/cvdsub.c

    r3561b9b r3ccefd7  
    221221    if( p_block->i_buffer < SPU_HEADER_LEN ) 
    222222    { 
    223         msg_Dbg( p_dec, "invalid packet header (size %d < %d)" , 
     223        msg_Dbg( p_dec, "invalid packet header (size %zu < %u)" , 
    224224                 p_block->i_buffer, SPU_HEADER_LEN ); 
    225225        block_Release( p_block ); 
     
    254254        if( p_spu->i_buffer != p_sys->i_spu_size ) 
    255255        { 
    256             msg_Warn( p_dec, "SPU packets size=%d should be %d", 
     256            msg_Warn( p_dec, "SPU packets size=%zu should be %zu", 
    257257                      p_spu->i_buffer, p_sys->i_spu_size ); 
    258258        } 
    259259 
    260         msg_Dbg( p_dec, "subtitle packet complete, size=%d", p_spu->i_buffer); 
     260        msg_Dbg( p_dec, "subtitle packet complete, size=%zuu", p_spu->i_buffer); 
    261261 
    262262        ParseMetaInfo( p_dec, p_spu ); 
     
    316316 
    317317#ifdef DEBUG_CVDSUB 
    318     msg_Dbg( p_dec, "total size: %d  image size: %d", 
     318    msg_Dbg( p_dec, "total size: %zu  image size: %zu", 
    319319             p_sys->i_spu_size, p_sys->i_image_length ); 
    320320#endif 
     
    462462                (p[2] << 8) + p[3] - p_sys->i_image_offset; 
    463463#ifdef DEBUG_CVDSUB 
    464             msg_Dbg( p_dec, "1st_field_offset %d", p_sys->first_field_offset ); 
     464            msg_Dbg( p_dec, "1st_field_offset %zu", 
     465                     p_sys->first_field_offset ); 
    465466#endif 
    466467            break; 
     
    472473                (p[2] << 8) + p[3] - p_sys->i_image_offset; 
    473474#ifdef DEBUG_CVDSUB 
    474             msg_Dbg( p_dec, "2nd_field_offset %d", p_sys->second_field_offset); 
     475            msg_Dbg( p_dec, "2nd_field_offset %zu", 
     476                     p_sys->second_field_offset); 
    475477#endif 
    476478            break; 
  • modules/codec/rawvideo.c

    r3561b9b r3ccefd7  
    230230    if( p_block->i_buffer < p_sys->i_raw_size ) 
    231231    { 
    232         msg_Warn( p_dec, "invalid frame size (%d < %d)", 
     232        msg_Warn( p_dec, "invalid frame size (%zu < %zu)", 
    233233                  p_block->i_buffer, p_sys->i_raw_size ); 
    234234 
  • modules/codec/spudec/spudec.c

    r3561b9b r3ccefd7  
    207207    { 
    208208        msg_Dbg( p_dec, "invalid starting packet (size < 4 or pts <=0)" ); 
    209         msg_Dbg( p_dec, "spu size: %d, i_pts: %"PRId64" i_buffer: %d", 
     209        msg_Dbg( p_dec, "spu size: %d, i_pts: %"PRId64" i_buffer: %zu", 
    210210                 p_sys->i_spu_size, p_block->i_pts, p_block->i_buffer ); 
    211211        block_Release( p_block ); 
  • modules/codec/svcdsub.c

    r3561b9b r3ccefd7  
    262262    if( p_block->i_buffer < SPU_HEADER_LEN ) 
    263263    { 
    264         msg_Dbg( p_dec, "invalid packet header (size %d < %d)" , 
     264        msg_Dbg( p_dec, "invalid packet header (size %zu < %u)" , 
    265265                 p_block->i_buffer, SPU_HEADER_LEN ); 
    266266        block_Release( p_block ); 
     
    351351        if( p_spu->i_buffer != p_sys->i_spu_size ) 
    352352        { 
    353             msg_Warn( p_dec, "subtitle packets size=%d should be %d", 
     353            msg_Warn( p_dec, "subtitle packets size=%zu should be %zu", 
    354354                      p_spu->i_buffer, p_sys->i_spu_size ); 
    355355        } 
    356356 
    357357    dbg_print( (DECODE_DBG_PACKET), 
    358                  "subtitle packet complete, size=%d", p_spu->i_buffer ); 
     358                 "subtitle packet complete, size=%zu", p_spu->i_buffer ); 
    359359 
    360360        p_sys->i_state = SUBTITLE_BLOCK_EMPTY; 
     
    438438  { 
    439439      msg_Dbg( p_dec, "x-start: %d, y-start: %d, width: %d, height %d, " 
    440            "spu size: %d, duration: %lu (d:%d p:%d)", 
     440           "spu size: %zu, duration: %"PRIu64" (d:%zu p:%"PRIu16")", 
    441441           p_sys->i_x_start, p_sys->i_y_start, 
    442442           p_sys->i_width, p_sys->i_height, 
    443            p_sys->i_spu_size, (long unsigned int) p_sys->i_duration, 
     443           p_sys->i_spu_size, p_sys->i_duration, 
    444444           p_sys->i_image_length, p_sys->i_image_offset); 
    445445  
  • modules/demux/real.c

    ra965485 r3ccefd7  
    402402                  tk->i_frame != i_len ) ) 
    403403            { 
    404                 msg_Dbg( p_demux, "sending size=%d", tk->p_frame->i_buffer ); 
     404                msg_Dbg( p_demux, "sending size=%zu", tk->p_frame->i_buffer ); 
    405405 
    406406                es_out_Send( p_demux->out, tk->p_es, tk->p_frame );