diff options
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/player.h b/src/player.h index e4d9f5b..4f0c963 100644 --- a/src/player.h +++ b/src/player.h @@ -30,6 +30,7 @@ THE SOFTWARE. #include <sys/types.h> #include <pthread.h> #include <stdint.h> +#include <signal.h> #include <ao/ao.h> #include <libavformat/avformat.h> @@ -65,9 +66,7 @@ typedef struct { AVFilterContext *fbufsink, *fabuf; int streamIdx; int64_t lastTimestamp; -#ifndef HAVE_AV_TIMEOUT - int64_t ping; -#endif + sig_atomic_t interrupted; ao_device *aoDev; |