libdvbv5: Fix dvb_get_pmt_pid()
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 7 Sep 2014 13:44:19 +0000 (10:44 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 7 Sep 2014 13:47:28 +0000 (10:47 -0300)
commit74448c76eb51f026278da9a09d055449556dd6dc
treed98053a673e92d46a5bc8beed6829046aaf8f83d
parentbeb679e1f3aa30d08a992cecfcdd010d8d749e30
libdvbv5: Fix dvb_get_pmt_pid()

A previous patch broke it, by not renaming the name of the
file descriptor. Also, don't close the descriptor on error.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/libdvbv5/dvb-demux.c