vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Mar 21 
17:59:20 2015 +0200| [7a76a7a7c74fa76e06aedbf334957c5603a4295a] | committer: 
Rémi Denis-Courmont

decoder: fix data race in input_DecoderFrameNext()

See also 0fde3beaa85528e555bac9c1b327ba5a32da67e9.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a76a7a7c74fa76e06aedbf334957c5603a4295a
---

 src/input/decoder.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 062a111..be2509c 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 )
         {

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to