ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Sun May 7 22:30:59 2017 +0200| [80a3227be624b475736ae765f57cb5f8c5f2373b] | committer: Michael Niedermayer
ffprobe: make function replacement macros behave correctly Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=80a3227be624b475736ae765f57cb5f8c5f2373b --- ffprobe.c | 4 ++-- 1 file 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 { _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
