Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-05-07 23:30:59 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-05-08 04:25:17 +0300
commit80a3227be624b475736ae765f57cb5f8c5f2373b (patch)
treee942c1b3c1992a056f8f377d9ed844feae375262 /ffprobe.c
parentc0443c1af1a772daf33731da7262f3aa6b28dc8e (diff)
ffprobe: make function replacement macros behave correctly
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffprobe.c b/ffprobe.c
index dd4358db9d..8129bcedf0 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -57,11 +57,11 @@
# ifdef pthread_mutex_lock
# undef pthread_mutex_lock
# endif
-# define pthread_mutex_lock(a)
+# define pthread_mutex_lock(a) do{}while(0)
# ifdef pthread_mutex_unlock
# undef pthread_mutex_unlock
# endif
-# define pthread_mutex_unlock(a)
+# define pthread_mutex_unlock(a) do{}while(0)
#endif
typedef struct InputStream {