]> git.sesse.net Git - vlc/commit
decomp: fix potential deadlock at EOF
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 26 Mar 2010 17:37:15 +0000 (19:37 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 26 Mar 2010 17:37:15 +0000 (19:37 +0200)
commitd9a20253a2c57aa7678375faf27feceab8c8923d
treeb8b70887b5efb5968acdfb5d310abba3ecbad7e6
parent40cc130202e898d57c6c93af1407cbf5ac6b6bd1
decomp: fix potential deadlock at EOF

The decompression process needs to "see" the end-of-file. Otherwise
it might get stuck, and then the demux thread will get stuck too.
Closing the write end of the pipe to the compression process fixes
that.

Pointed-out-by: Laurent Aimar
modules/stream_filter/decomp.c