summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2014-06-25 15:17:00 +0200
committerJohns <johns98@gmx.net>2014-06-25 15:17:00 +0200
commit37f409cb9aae06c99a6dff910b1b1d9278190ef1 (patch)
treeb9cc5937e1ab239098e0cc9bc6f6f96f89565580 /softhddev.c
parent5207af6b2da0df19a58db4932811d38526fde51b (diff)
downloadvdr-plugin-softhddevice-37f409cb9aae06c99a6dff910b1b1d9278190ef1.tar.gz
vdr-plugin-softhddevice-37f409cb9aae06c99a6dff910b1b1d9278190ef1.tar.bz2
Use GCC built-in functions for atomic operations.
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/softhddev.c b/softhddev.c
index 2f873c0..1759109 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -63,6 +63,7 @@
#endif
#include <pthread.h>
+#include "iatomic.h" // portable atomic_t
#include "misc.h"
#include "softhddev.h"
@@ -1307,8 +1308,6 @@ void SetVolumeDevice(int volume)
// Video
//////////////////////////////////////////////////////////////////////////////
-#include <alsa/iatomic.h> // portable atomic_t
-
#define VIDEO_BUFFER_SIZE (512 * 1024) ///< video PES buffer default size
#define VIDEO_PACKET_MAX 192 ///< max number of video packets