Commit 02ab7567 authored by Eric Petit's avatar Eric Petit

src/input/es_out.c: gcc < 3 fix

parent 6a29dd7f
...@@ -995,8 +995,8 @@ static int EsOutControl( es_out_t *out, int i_query, va_list args ) ...@@ -995,8 +995,8 @@ static int EsOutControl( es_out_t *out, int i_query, va_list args )
{ {
/* This ain't pretty but is need by some demuxers (eg. Ogg ) /* This ain't pretty but is need by some demuxers (eg. Ogg )
* to update the p_extra data */ * to update the p_extra data */
es = (es_out_id_t*) va_arg( args, es_out_id_t * );
es_format_t *p_fmt = (es_format_t*) va_arg( args, es_format_t * ); es_format_t *p_fmt = (es_format_t*) va_arg( args, es_format_t * );
es = (es_out_id_t*) va_arg( args, es_out_id_t * );
if( es == NULL || !es->p_dec ) return VLC_EGENERIC; if( es == NULL || !es->p_dec ) return VLC_EGENERIC;
if( p_fmt->i_extra ) if( p_fmt->i_extra )
......
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