Changeset 39882


Ignore:
Timestamp:
01/30/17 13:56:31 (5 years ago)
Author:
obi
Message:

next

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/libeplayer3/output/linuxdvb_mipsel.c

    r39881 r39882  
    135135    {
    136136                fcntl(videofd, F_SETFL, fcntl(videofd, F_GETFL) | O_NONBLOCK);
    137                 closeonexec(videofd);
    138137
    139138        videofd = open(VIDEODEV, O_RDWR | O_NONBLOCK);
     139
     140                fcntl(videofd, F_SETFL, fcntl(videofd, F_GETFL) | O_NONBLOCK);
    140141
    141142        if (videofd < 0)
     
    168169    {
    169170                fcntl(audiofd, F_SETFL, fcntl(audiofd, F_GETFL) | O_NONBLOCK);
    170                 closeonexec(audiofd);
    171171
    172172        audiofd = open(AUDIODEV, O_RDWR | O_NONBLOCK);
     173
     174                fcntl(audiofd, F_SETFL, fcntl(audiofd, F_GETFL) | O_NONBLOCK);
    173175
    174176        if (audiofd < 0)
     
    230232
    231233        fcntl(videofd, F_SETFL, fcntl(videofd, F_GETFL) | O_NONBLOCK);
    232         closeonexec(videofd);
    233234
    234235        fcntl(audiofd, F_SETFL, fcntl(audiofd, F_GETFL) | O_NONBLOCK);
    235         closeonexec(audiofd);
    236236
    237237    releaseLinuxDVBMutex(FILENAME, __FUNCTION__,__LINE__);
Note: See TracChangeset for help on using the changeset viewer.