Commit 0ccea1b2 authored by Jean-Paul Saman's avatar Jean-Paul Saman

packetizer_copy: VLC_ENOMEM

parent 1e339f2e
...@@ -230,6 +230,8 @@ static int Open( vlc_object_t *p_this ) ...@@ -230,6 +230,8 @@ static int Open( vlc_object_t *p_this )
} }
p_dec->p_sys = p_sys = malloc( sizeof( block_t ) ); p_dec->p_sys = p_sys = malloc( sizeof( block_t ) );
if( !p_sys )
return VLC_ENOMEM;
p_sys->p_block = NULL; p_sys->p_block = NULL;
return VLC_SUCCESS; return VLC_SUCCESS;
......
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