]> git.sesse.net Git - vlc/blobdiff - src/input/decoder_synchro.c
Accept partial matches with -p <module name> (aka --module ...)
[vlc] / src / input / decoder_synchro.c
index 4b12a268a11fd71e3931d91c1d7ff69b98e0674a..f28aea476921305b37cf9069d09472996ddd9aa5 100644 (file)
@@ -98,7 +98,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_input.h>
 #include <vlc_codec.h>
 #include <vlc_codec_synchro.h>
@@ -164,10 +164,7 @@ decoder_synchro_t * decoder_SynchroInit( decoder_t *p_dec, int i_frame_rate )
 {
     decoder_synchro_t * p_synchro = malloc( sizeof(*p_synchro) );
     if ( p_synchro == NULL )
-    {
-        msg_Err( p_dec, "out of memory" );
         return NULL;
-    }
     memset( p_synchro, 0, sizeof(*p_synchro) );
 
     p_synchro->p_dec = p_dec;