Commit 2f541e74 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix warning in rawvid demxuer.

parent 2e8d84e3
......@@ -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" );
}
......
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