]> git.sesse.net Git - vlc/blobdiff - modules/packetizer/mpeg4audio.c
Add m2ts and mts to the interface dialog selectors.
[vlc] / modules / packetizer / mpeg4audio.c
index ecf5a66608a5a1dc8b022d19a6e0931f38c7aaf5..9a926acdd28123909cb58d7fdf12cb4f2ca4876e 100644 (file)
@@ -30,7 +30,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_aout.h>
 #include <vlc_codec.h>
@@ -203,10 +203,7 @@ static int OpenPacketizer( vlc_object_t *p_this )
     /* Allocate the memory needed to store the decoder's structure */
     if( ( p_dec->p_sys = p_sys =
           (decoder_sys_t *)malloc(sizeof(decoder_sys_t)) ) == NULL )
-    {
-        msg_Err( p_dec, "out of memory" );
-        return VLC_EGENERIC;
-    }
+        return VLC_ENOMEM;
 
     /* Misc init */
     p_sys->i_state = STATE_NOSYNC;