[vlc-commits] input: resource: remove wrong assertion

Thomas Guillem git at videolan.org
Sat Feb 29 18:20:54 CET 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sat Feb 29 12:55:13 2020 +0100| [caf184550627c009d3ca109e0b3c821abc6a671c] | committer: Thomas Guillem

input: resource: remove wrong assertion

This assertion is wrong in case of multiple video es.
The new vout doesn't have to be the free one.

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

 src/input/resource.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/input/resource.c b/src/input/resource.c
index dc71367b6f..79b42bf07c 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -414,7 +414,6 @@ vout_thread_t *input_resource_GetVoutDecoderDevice(input_resource_t *p_resource,
         int index;
         TAB_FIND(p_resource->i_vout, p_resource->pp_vout, cfg_vout, index );
         assert(index >= 0);
-        assert(p_resource->p_vout_free == NULL || p_resource->p_vout_free == cfg_vout);
     }
 #endif
 



More information about the vlc-commits mailing list