Commit a4495b84 authored by Christophe Massiot's avatar Christophe Massiot

Fixed a major bug of people who like to declare vars "unsigned int"

when they can be -1 :p (why haven't we spotted that before ??).
Closes #152.
parent 0e7d6fb9
......@@ -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.100 2003/01/07 21:49:01 fenrir Exp $
* $Id: input_programs.c,v 1.101 2003/01/31 11:23:37 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -267,10 +267,10 @@ input_area_t * input_AddArea( input_thread_t * p_input )
int input_SetProgram( input_thread_t * p_input, pgrm_descriptor_t * p_new_prg )
{
unsigned int i_es_index;
unsigned int i_required_audio_es;
unsigned int i_required_spu_es;
unsigned int i_audio_es = 0;
unsigned int i_spu_es = 0;
int i_required_audio_es;
int i_required_spu_es;
int i_audio_es = 0;
int i_spu_es = 0;
if ( p_input->stream.p_selected_program )
{
......
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