adamsutton / tvheadend

Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
http://www.lonelycoder.com/hts/tvheadend_overview.html
Other
18 stars 5 forks source link

close(fd) where fd=-1 #80

Closed btwe closed 10 years ago

btwe commented 10 years ago

Probably not a real issue:

src/input/mpegts/mpegts_mux.c:440: close(mp->mp_fd);

Here it happens, that mp->mp_fd == -1

adamsutton commented 10 years ago

Fixed. Was a stupid mistake in logic.