]> git.sesse.net Git - vlc/commit
demux: remove redundant calls to vlc_object_alive()
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 5 Feb 2015 18:41:55 +0000 (20:41 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 5 Feb 2015 19:23:44 +0000 (21:23 +0200)
commita98b6abae93b78d19dbff9ac7c13a2e35b0c1a2e
treeb892dcb1adbb2fe1a487a6dca392be244cfaf4ee
parentce799fe39b9e9d34c1d2dd3421fe9a3b655e30aa
demux: remove redundant calls to vlc_object_alive()

If the input is dead, the source stream (demux_t.s) return an
error. There is no point checking that the demux is dead separately. In
fact, there is even a race where the stream will be dead but the demux
will not.
modules/access/live555.cpp
modules/demux/asf/asf.c
modules/demux/avi/avi.c
modules/demux/mpeg/es.c
modules/demux/nuv.c
modules/demux/ps.c
modules/demux/ts.c