Commit 05e1f728 authored by Rafaël Carré's avatar Rafaël Carré Committed by Rémi Denis-Courmont
Browse files

avcodec video dec: remove useless assignement in destructor


Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 2a2e719d
...@@ -767,13 +767,12 @@ void EndVideoDec( decoder_t *p_dec ) ...@@ -767,13 +767,12 @@ void EndVideoDec( decoder_t *p_dec )
wait_mt( p_sys ); wait_mt( p_sys );
if( p_sys->p_ff_pic ) av_free( p_sys->p_ff_pic ); if( p_sys->p_ff_pic )
av_free( p_sys->p_ff_pic );
if( p_sys->p_va ) if( p_sys->p_va )
{
vlc_va_Delete( p_sys->p_va ); vlc_va_Delete( p_sys->p_va );
p_sys->p_va = NULL;
}
vlc_sem_destroy( &p_sys->sem_mt ); vlc_sem_destroy( &p_sys->sem_mt );
} }
......
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