Commit 377376e0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

projectM: use assert()

parent 224e6c12
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
# define __STDC_CONSTANT_MACROS # define __STDC_CONSTANT_MACROS
#endif #endif
#include <assert.h>
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_aout.h> #include <vlc_aout.h>
...@@ -459,7 +461,7 @@ static void *Thread( void *p_data ) ...@@ -459,7 +461,7 @@ static void *Thread( void *p_data )
vlc_gl_Unlock( gl ); vlc_gl_Unlock( gl );
} }
} }
abort(); assert(0);
error: error:
p_sys->b_error = true; p_sys->b_error = true;
......
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