Commit 49a0e827 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

es_out: remove tautology

es->p_dec is obviously non-NULL when the loop starts, and the loop
cannot change the value.
parent 62140018
...@@ -2034,7 +2034,7 @@ static void EsOutDel( es_out_t *out, es_out_id_t *es ) ...@@ -2034,7 +2034,7 @@ static void EsOutDel( es_out_t *out, es_out_id_t *es )
/* We don't try to reselect */ /* We don't try to reselect */
if( es->p_dec ) if( es->p_dec )
{ {
while( vlc_object_alive(p_sys->p_input) && !p_sys->b_buffering && es->p_dec ) while( vlc_object_alive(p_sys->p_input) && !p_sys->b_buffering )
{ {
if( input_DecoderIsEmpty( es->p_dec ) && if( input_DecoderIsEmpty( es->p_dec ) &&
( !es->p_dec_record || input_DecoderIsEmpty( es->p_dec_record ) )) ( !es->p_dec_record || input_DecoderIsEmpty( es->p_dec_record ) ))
......
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