X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffprobe.c;h=8129bcedf0ec01ee4d63db50d86bbbb96a12ed20;hb=2f2bc2e2463221dc4d02dcd8a5a0047d2cda5261;hp=ce964e0093a471c873a4f9257a8368bb5f2fa31e;hpb=f31f610f337d6e7cdd5dc465b5795127e618c145;p=ffmpeg diff --git a/ffprobe.c b/ffprobe.c index ce964e0093a..8129bcedf0e 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 { @@ -3379,7 +3379,7 @@ DEFINE_OPT_SHOW_SECTION(streams, STREAMS) DEFINE_OPT_SHOW_SECTION(programs, PROGRAMS) static const OptionDef real_options[] = { -#include "cmdutils_common_opts.h" + CMDUTILS_COMMON_OPTIONS { "f", HAS_ARG, {.func_arg = opt_format}, "force format", "format" }, { "unit", OPT_BOOL, {&show_value_unit}, "show unit of the displayed values" }, { "prefix", OPT_BOOL, {&use_value_prefix}, "use SI prefixes for the displayed values" },