Commit bb1c38e6 authored by Christophe Massiot's avatar Christophe Massiot

Attempt to fix the INPUT_MAX_ALLOCATION error.

parent 92253518
......@@ -2,7 +2,7 @@
* vpar_headers.c : headers parsing
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: vpar_headers.c,v 1.10 2002/01/08 23:06:12 massiot Exp $
* $Id: vpar_headers.c,v 1.11 2002/01/14 22:26:05 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
......@@ -258,8 +258,6 @@ int vpar_NextSequenceHeader( vpar_thread_t * p_vpar )
*****************************************************************************/
int vpar_ParseHeader( vpar_thread_t * p_vpar )
{
while( !p_vpar->p_fifo->b_die )
{
NextStartCode( &p_vpar->bit_stream );
switch( GetBits32( &p_vpar->bit_stream ) )
{
......@@ -281,14 +279,13 @@ int vpar_ParseHeader( vpar_thread_t * p_vpar )
break;
case SEQUENCE_END_CODE:
intf_DbgMsg("vpar debug: sequence end code received");
intf_WarnMsg(3, "vpar warning: sequence end code received");
return 1;
break;
default:
break;
}
}
return 0;
}
......
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