Changeset f4e4859fd74264e27f3e1c29fef6a46abc603610

Show
Ignore:
Timestamp:
04/05/07 13:06:45 (1 year ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1175771205 +0000
git-parent:

[21bd97f551b0e8beb482817e4fc27fbf682559cd]

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

Fix missing initializer compiler. Use memset to properly clear the entire struct.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/video_output/vout_intf.c

    r2c97594 rf4e4859  
    445445{ 
    446446    image_handler_t *p_image = image_HandlerCreate( p_vout ); 
    447     video_format_t fmt_in = {0}, fmt_out = {0}
     447    video_format_t fmt_in, fmt_out
    448448    char *psz_filename = NULL; 
    449449    subpicture_t *p_subpic; 
     
    451451    vlc_value_t val, format; 
    452452    DIR *path; 
    453  
    454453    int i_ret; 
     454 
     455    memset( &fmt_in, 0, sizeof(video_format_t)); 
     456    memset( &fmt_out, 0, sizeof(video_format_t)); 
    455457 
    456458    var_Get( p_vout, "snapshot-path", &val );