[vlc-commits] decoder: reset b_error when unloading a module

Thomas Guillem git at videolan.org
Wed Sep 16 18:32:25 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Sep 16 18:28:52 2015 +0200| [2adec344348ecbfa3f856c97dc4f9028c9c55784] | committer: Thomas Guillem

decoder: reset b_error when unloading a module

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

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

diff --git a/src/input/decoder.c b/src/input/decoder.c
index c64a515..dc2cd84 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -187,6 +187,7 @@ static void UnloadDecoder( decoder_t *p_dec )
 
     es_format_Clean( &p_dec->fmt_in );
     es_format_Clean( &p_dec->fmt_out );
+    p_dec->b_error = false;
 }
 
 static void DecoderUpdateFormatLocked( decoder_t *p_dec )



More information about the vlc-commits mailing list