libeplayer3-arm: fixes segfault on internet streams (thx DboxOldie)

This commit is contained in:
max_10
2018-01-17 22:29:27 +01:00
committed by Thilo Graf
parent fc5c510334
commit f793f03267

View File

@@ -351,7 +351,7 @@ void cVideo::closeDevice(void)
{ {
lt_debug("%s\n", __func__); lt_debug("%s\n", __func__);
/* looks like sometimes close is unhappy about non-empty buffers */ /* looks like sometimes close is unhappy about non-empty buffers */
Start(); // Start();
if (fd >= 0) if (fd >= 0)
close(fd); close(fd);
fd = -1; fd = -1;