aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_mp3.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_mp3.c')
-rwxr-xr-xapps/app_mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_mp3.c b/apps/app_mp3.c
index 791840106..52f1225c6 100755
--- a/apps/app_mp3.c
+++ b/apps/app_mp3.c
@@ -75,7 +75,7 @@ static int timed_read(int fd, void *data, int datalen)
struct timeval tv = { 2, 0 }; /* Wait no more than 2 seconds */
FD_ZERO(&fds);
FD_SET(fd, &fds);
- res = select(fd + 1, &fds, NULL, NULL, &tv);
+ res = ast_select(fd + 1, &fds, NULL, NULL, &tv);
if (res < 1) {
ast_log(LOG_NOTICE, "Selected timed out/errored out with %d\n", res);
return -1;