Commit fe994721 authored by Gildas Bazin's avatar Gildas Bazin

* modules/codec/ffmpeg/ffmpeg.c: fixed stupid bug preventing the decoder to be closed properly.

parent bdcb3f1a
......@@ -244,7 +244,7 @@ static void CloseDecoder( vlc_object_t *p_this )
decoder_t *p_dec = (decoder_t *)p_this;
decoder_sys_t *p_sys = p_dec->p_sys;
if( !p_sys->p_context )
if( p_sys->p_context )
{
if( p_sys->p_context->extradata )
free( p_sys->p_context->extradata );
......
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