Commit 119858b2 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fixed a crash with blank opengl effect paramerter

parent 62b70557
......@@ -1347,7 +1347,7 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
/* Check if the user asked for useless visual effects */
psz_effect = config_GetPsz( p_vout, "macosx-opengl-effect" );
if( !strcmp( psz_effect, "none" ) )
if( !psz_effect || !strcmp( psz_effect, "none" ))
{
i_effect = OPENGL_EFFECT_NONE;
}
......
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