vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Tue Mar 17 21:38:31 2015 +0200| [49a0e82735cbc37003e196445a0faabca292f294] | committer: 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. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=49a0e82735cbc37003e196445a0faabca292f294 --- src/input/es_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/es_out.c b/src/input/es_out.c index 3ea91f0..1446476 100644 --- a/src/input/es_out.c +++ b/src/input/es_out.c @@ -2034,7 +2034,7 @@ static void EsOutDel( es_out_t *out, es_out_id_t *es ) /* We don't try to reselect */ 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 ) && ( !es->p_dec_record || input_DecoderIsEmpty( es->p_dec_record ) )) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
