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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-30 00:58:17 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-07-30 01:04:49 +0400
commit7c26761b8121ed362870b2e0eb06b85431bdd7a2 (patch)
tree5e8bc55238ce090b34e5e8cd7777fc4dd5e7fb76 /ffprobe.c
parent72dabdfc58064fcb249f26fc7afca2221f18a832 (diff)
parentfe1c1198e670242f3cf9e3e1eef27cff77f3ee23 (diff)
Merge commit 'fe1c1198e670242f3cf9e3e1eef27cff77f3ee23'
* commit 'fe1c1198e670242f3cf9e3e1eef27cff77f3ee23': lavf: use dts difference instead of AVPacket.duration in find_stream_info() avf: introduce nobuffer option fate: make yadif tests consistent across systems vf_hqdn3d: support 9 and 10bit colordepth vf_hqdn3d: reduce intermediate precision vf_hqdn3d: simplify and optimize factor identical ff_inplace_start_frame out of two filters vf_hqdn3d: cosmetics avprobe/avconv: fix tentative declaration compile errors on MSVS. Conflicts: doc/APIchanges ffmpeg.c ffprobe.c libavformat/avformat.h libavformat/options_table.h libavformat/utils.c libavformat/version.h tests/fate/filter.mak tests/ref/fate/filter-yadif-mode0 tests/ref/fate/filter-yadif-mode1 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ffprobe.c b/ffprobe.c
index e261db1bfc..e14de3be8a 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -65,7 +65,7 @@ static int show_private_data = 1;
static char *print_format;
-static const OptionDef options[];
+static const OptionDef *options;
/* FFprobe context */
static const char *input_filename;
@@ -2108,7 +2108,7 @@ static int opt_show_versions(const char *opt, const char *arg)
return 0;
}
-static const OptionDef options[] = {
+static const OptionDef real_options[] = {
#include "cmdutils_common_opts.h"
{ "f", HAS_ARG, {(void*)opt_format}, "force format", "format" },
{ "unit", OPT_BOOL, {(void*)&show_value_unit}, "show unit of the displayed values" },
@@ -2151,6 +2151,7 @@ int main(int argc, char **argv)
int ret;
av_log_set_flags(AV_LOG_SKIP_REPEATED);
+ options = real_options;
parse_loglevel(argc, argv, options);
av_register_all();
avformat_network_init();