1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00

Fix warning in rawvid demxuer.

This commit is contained in:
Jean-Baptiste Kempf 2008-03-17 00:46:46 -07:00
parent 2e8d84e394
commit 2f541e74db

View File

@ -181,7 +181,7 @@ static int Open( vlc_object_t * p_this )
{
char *psz;
char *buf;
int a, b;
int a, b = 1;
psz = stream_ReadLine( p_demux->s );
/* TODO: handle interlacing */
@ -240,7 +240,7 @@ static int Open( vlc_object_t * p_this )
{
psz_chroma = strdup( "I444" );
}
else if( !strncmp( buf, "mono", 3 ) )
else if( !strncmp( buf, "mono", 4 ) )
{
psz_chroma = strdup( "GREY" );
}