]> git.sesse.net Git - vlc/commitdiff
- using strcmp with a NULL string isn't really a good thing to do
authorDamien Fouilleul <damienf@videolan.org>
Thu, 18 May 2006 22:01:31 +0000 (22:01 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Thu, 18 May 2006 22:01:31 +0000 (22:01 +0000)
src/video_output/vout_intf.c

index 1fe8ffd7922c8a2e8d8181313c97ca65d504b35b..4c8e2d967458eae537ca9fe23ce7005690577484 100644 (file)
@@ -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 );
 
     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;
 }