[vlc-commits] decode: assert if vout is not configured
Thomas Guillem
git at videolan.org
Mon Sep 26 17:13:33 CEST 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Sep 26 16:51:52 2016 +0200| [f989fe0d08c580e8fb20d5dcbfa1489e52a4347a] | committer: Thomas Guillem
decode: assert if vout is not configured
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f989fe0d08c580e8fb20d5dcbfa1489e52a4347a
---
src/input/decoder.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 62f7bde..5d4baac 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -498,6 +498,7 @@ static int vout_update_format( decoder_t *p_dec )
static picture_t *vout_new_buffer( decoder_t *p_dec )
{
decoder_owner_sys_t *p_owner = p_dec->p_owner;
+ assert( p_owner->p_vout );
return vout_GetPicture( p_owner->p_vout );
}
More information about the vlc-commits
mailing list