summaryrefslogtreecommitdiff
path: root/video.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 /video.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 'video.c')
-rw-r--r--video.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video.c b/video.c
index 01bde83..a5b3a5a 100644
--- a/video.c
+++ b/video.c
@@ -70,8 +70,6 @@
#define _(str) gettext(str) ///< gettext shortcut
#define _N(str) str ///< gettext_noop shortcut
-#include <alsa/iatomic.h> // portable atomic_t
-
#ifdef USE_VIDEO_THREAD
#ifndef __USE_GNU
#define __USE_GNU
@@ -179,6 +177,7 @@ typedef enum
#define FFMPEG_BUG1_WORKAROUND ///< get_format bug workaround
#endif
+#include "iatomic.h" // portable atomic_t
#include "misc.h"
#include "video.h"
#include "audio.h"