Changeset c09b9f61b78e6ecea335dccca234cb3111657283

Show
Ignore:
Timestamp:
05/16/07 21:09:04 (1 year ago)
Author:
Jean-Baptiste Kempf <jb@videolan.org>
git-committer:
Jean-Baptiste Kempf <jb@videolan.org> 1179342544 +0000
git-parent:

[e52e46410c9b9c286c6fe2cfdb8a9feb7521ac8f]

git-author:
Jean-Baptiste Kempf <jb@videolan.org> 1179342544 +0000
Message:

Should fix another bunch of: (near initialization for `fmt*') warnings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/video_filter/opencv_wrapper.c

    r1f382c0 rc09b9f6  
    300300    int i_index; 
    301301    picture_t *p_pic; 
    302     video_format_t fmt = {0}
     302    video_format_t fmt
    303303    vout_sys_t *p_sys = p_vout->p_sys; 
    304304    I_OUTPUTPICTURES = 0; 
    305305 
    306306    /* Initialize the output video format */ 
     307    memset( &fmt, 0, sizeof(video_format_t) ); 
    307308    p_vout->output.i_chroma = p_vout->render.i_chroma; 
    308309    p_vout->output.i_width  = p_vout->render.i_width; 
     
    457458    // input video size 
    458459    CvSize sz = cvSize(abs(p_in->format.i_width), abs(p_in->format.i_height)); 
    459     video_format_t fmt_out = {0}
     460    video_format_t fmt_out
    460461    clock_t start, finish;  //performance measures 
    461462    double  duration; 
    462463    int i = 0; 
    463464    vout_sys_t* p_sys = p_vout->p_sys; 
     465 
     466    memset( &fmt_out, 0, sizeof(video_format_t) ); 
    464467 
    465468    start = clock(); 
  • modules/video_filter/psychedelic.c

    r9ce7298 rc09b9f6  
    136136 
    137137    picture_t *p_converted; 
    138     video_format_t fmt_out = {0}; 
     138    video_format_t fmt_out; 
     139    memset( &fmt_out, 0, sizeof(video_format_t) ); 
    139140    fmt_out.p_palette = NULL; 
    140141 
  • modules/video_filter/puzzle.c

    ra90c352 rc09b9f6  
    350350    picture_t *p_outpic; 
    351351 
    352     //video_format_t fmt_out = {0}; 
     352    //video_format_t fmt_out; 
     353    // memset( &fmt_out, 0, sizeof(video_format_t) ); 
    353354    //picture_t *p_converted; 
    354355 
  • modules/visualization/goom.c

    rd3fe7f2 rc09b9f6  
    132132    goom_thread_t     *p_thread; 
    133133    vlc_value_t       width, height; 
    134     video_format_t    fmt = {0}; 
     134    video_format_t    fmt; 
     135 
    135136 
    136137    if ( p_filter->input.i_format != VLC_FOURCC('f','l','3','2' ) 
     
    161162    var_Create( p_thread, "goom-height", VLC_VAR_INTEGER|VLC_VAR_DOINHERIT ); 
    162163    var_Get( p_thread, "goom-height", &height ); 
     164 
     165    memset( &fmt, 0, sizeof(video_format_t) ); 
    163166 
    164167    fmt.i_width = fmt.i_visible_width = width.i_int; 
  • modules/visualization/visual/visual.c

    rd3fe7f2 rc09b9f6  
    189189 
    190190    char *psz_effects, *psz_parser; 
    191     video_format_t fmt = {0}; 
     191    video_format_t fmt; 
     192 
    192193 
    193194    if( ( p_filter->input.i_format != VLC_FOURCC('f','l','3','2') && 
     
    303304 
    304305    /* Open the video output */ 
     306    memset( &fmt, 0, sizeof(video_format_t) ); 
     307 
    305308    fmt.i_width = fmt.i_visible_width = p_sys->i_width; 
    306309    fmt.i_height = fmt.i_visible_height = p_sys->i_height;