projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74097b7
)
Simplify vss_preselect().
author
Andre Noll
<maan@systemlinux.org>
Sat, 12 Apr 2008 05:49:37 +0000
(07:49 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 12 Apr 2008 05:49:37 +0000
(07:49 +0200)
Obviously an equivalent transformation.
vss.c
patch
|
blob
|
history
diff --git
a/vss.c
b/vss.c
index 74fdb2b4bbd5a0abec2a0374cac19026e95e10cc..a7542677249e14ad71182d8d276c55177e1c0ca7 100644
(file)
--- a/
vss.c
+++ b/
vss.c
@@
-321,8
+321,7
@@
struct timeval *vss_preselect(fd_set *rfds, fd_set *wfds, int *max_fileno)
goto out;
if (!map && vss_playing() &&
!(mmd->new_vss_status_flags & VSS_NOMORE)) {
- if (afsss == AFS_SOCKET_READY ||
- afsss == AFS_SOCKET_CHECK_FOR_WRITE) {
+ if (afsss != AFS_SOCKET_AFD_PENDING) {
PARA_DEBUG_LOG("ready and playing, but no audio file\n");
para_fd_set(afs_socket, wfds, max_fileno);
afsss = AFS_SOCKET_CHECK_FOR_WRITE;