demux_chained: fix stream leak
authorThomas Guillem <thomas@gllm.fr>
Wed, 26 Oct 2016 16:29:55 +0000 (18:29 +0200)
committerThomas Guillem <thomas@gllm.fr>
Wed, 26 Oct 2016 16:29:55 +0000 (18:29 +0200)
commita3f0f2018793012972d89e762d6f6fb9f1b9a01b
treef23d0c6eb3cf7887d060d742b9f5fe8e73c6fd6c
parent8d587e5c7213bd526dc1a4bc78b7b90c2507943c
demux_chained: fix stream leak

This leak could happen when the stream_fifo was closed during the creation of
the demux from the demux_chained thread.
src/input/demux_chained.c