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:
parent
2e8d84e394
commit
2f541e74db
@ -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" );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user