Commit 77a6ebf8 authored by Sam Hocevar's avatar Sam Hocevar

* ./plugins/mpeg_vdec/video_parser.c, ./src/input/input_programs.c: fixed

    a few uninitialized variables.
parent ba45505c
......@@ -2,7 +2,7 @@
* video_parser.c : video parser thread
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: video_parser.c,v 1.24 2002/06/05 18:01:31 stef Exp $
* $Id: video_parser.c,v 1.25 2002/07/16 21:25:43 sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
......@@ -267,6 +267,14 @@ static int InitThread( vpar_thread_t *p_vpar )
p_vpar->sequence.next_pts = p_vpar->sequence.next_dts = 0;
p_vpar->sequence.b_expect_discontinuity = 0;
p_vpar->sequence.i_width = 0;
p_vpar->sequence.i_height = 0;
p_vpar->sequence.i_frame_rate = 0;
p_vpar->sequence.i_scalable_mode = 0;
p_vpar->sequence.i_matrix_coefficients = 0;
p_vpar->sequence.b_mpeg2 = 0;
p_vpar->sequence.b_progressive = 0;
/* Initialize copyright information */
p_vpar->sequence.b_copyright_flag = 0;
p_vpar->sequence.b_original = 0;
......
......@@ -2,7 +2,7 @@
* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
*****************************************************************************
* Copyright (C) 1999-2002 VideoLAN
* $Id: input_programs.c,v 1.90 2002/07/15 19:33:02 fenrir Exp $
* $Id: input_programs.c,v 1.91 2002/07/16 21:25:43 sam Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -503,6 +503,8 @@ es_descriptor_t * input_AddES( input_thread_t * p_input,
p_es->b_audio = 0;
p_es->i_cat = UNKNOWN_ES;
p_es->i_demux_fd = 0;
p_es->c_packets = 0;
p_es->c_invalid_packets = 0;
if( i_data_len )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment