Changeset 4448a185d76ce605c5c796974115d50478528e7a

Show
Ignore:
Timestamp:
24/08/06 00:11:28 (2 years ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1156371088 +0000
git-parent:

[0c0c679545f62b3dcfe039859b00be6cdb0da938]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1156371088 +0000
Message:

Fix bugs in loading of audio transcoding filters.exit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/stream_out/mosaic_bridge.c

    r50b0184 r4448a18  
    432432        if ( p_sys->i_height || p_sys->i_width ) 
    433433        { 
    434             video_format_t fmt_out = {0}, fmt_in = {0}; 
     434            video_format_t fmt_out, fmt_in; 
     435 
     436            memset( &fmt_in, 0, sizeof(video_format_t) ); 
     437            memset( &fmt_out, 0, sizeof(video_format_t) ); 
    435438            fmt_in = p_sys->p_decoder->fmt_out.video; 
    436439 
  • modules/stream_out/switcher.c

    r5e7871b r4448a18  
    652652    sout_stream_sys_t *p_sys = p_stream->p_sys; 
    653653    char psz_buffer[10]; 
    654     int i_len = net_ReadNonBlock( p_stream, p_sys->i_fd, NULL, psz_buffer
     654    int i_len = net_ReadNonBlock( p_stream, p_sys->i_fd, NULL, (char *)&psz_buffer[0]
    655655                                  sizeof( psz_buffer ), 0 ); 
    656656 
     
    848848        int h_chroma_shift, v_chroma_shift; 
    849849        int i; 
    850          
     850 
    851851        avcodec_get_chroma_sub_sample( id->ff_enc_c->pix_fmt, &h_chroma_shift, 
    852852                                       &v_chroma_shift ); 
     
    860860                                    (mb_width + 1) * mb_height 
    861861                                      * sizeof(id->p_frame->mb_type[0])); 
    862          
     862 
    863863        for ( i = 0; i < 2; i++ ) 
    864864        { 
     
    943943    return p_out; 
    944944} 
    945