From: RĂ©mi Denis-Courmont Date: Sat, 21 Mar 2015 15:59:20 +0000 (+0200) Subject: decoder: fix data race in input_DecoderFrameNext() X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=7a76a7a7c74fa76e06aedbf334957c5603a4295a decoder: fix data race in input_DecoderFrameNext() See also 0fde3beaa85528e555bac9c1b327ba5a32da67e9. --- diff --git a/src/input/decoder.c b/src/input/decoder.c index 062a111b65..be2509c294 100644 --- a/src/input/decoder.c +++ b/src/input/decoder.c @@ -578,7 +578,7 @@ void input_DecoderFrameNext( decoder_t *p_dec, mtime_t *pi_duration ) *pi_duration = 0; vlc_mutex_lock( &p_owner->lock ); - if( p_dec->fmt_out.i_cat == VIDEO_ES ) + if( p_owner->fmt.i_cat == VIDEO_ES ) { if( p_owner->b_paused && p_owner->p_vout ) {