]> git.sesse.net Git - vlc/blobdiff - modules/demux/rawvid.c
Use VLC_ENOMEM instead of VLC_EGENERIC.
[vlc] / modules / demux / rawvid.c
index add4213e0b12627334d2383119a72181ebc776f2..775d72d56f6fc9c5ba475f932e00f7c38c984302 100644 (file)
@@ -166,7 +166,7 @@ static int Open( vlc_object_t * p_this )
     p_demux->pf_control = Control;
     p_demux->p_sys      = p_sys = malloc( sizeof( demux_sys_t ) );
     if( !p_sys )
-        return VLC_EGENERIC;
+        return VLC_ENOMEM;
 
     p_sys->i_pcr = 1;