Commit b78bee7a authored by Rémi Duraffort's avatar Rémi Duraffort

Remove stupid test before a free.

parent 356fafa5
......@@ -317,8 +317,7 @@ static void CloseDecoder( vlc_object_t *p_this )
{
vlc_mutex_t *lock;
if( p_sys->p_context->extradata )
free( p_sys->p_context->extradata );
free( p_sys->p_context->extradata );
p_sys->p_context->extradata = NULL;
vlc_mutex_lock( &avcodec_lock );
......
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