Commit 1f3af1b4 authored by damienf's avatar damienf
Browse files

- using strcmp with a NULL string isn't really a good thing to do

parent 056af271
...@@ -987,7 +987,7 @@ static int AspectCallback( vlc_object_t *p_this, char const *psz_cmd, ...@@ -987,7 +987,7 @@ static int AspectCallback( vlc_object_t *p_this, char const *psz_cmd,
p_vout->fmt_in.i_sar_num, p_vout->fmt_in.i_sar_den ); p_vout->fmt_in.i_sar_num, p_vout->fmt_in.i_sar_den );
var_Get( p_vout, "crop", &val ); var_Get( p_vout, "crop", &val );
return CropCallback( p_this, 0, val, val, 0 ); return CropCallback( p_this, "crop", val, val, 0 );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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