Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
dcb7ef54
Commit
dcb7ef54
authored
Jul 26, 2012
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avprobe/avconv: fix tentative declaration compile errors on MSVS.
parent
c83f44db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
avconv.c
avconv.c
+3
-2
avprobe.c
avprobe.c
+3
-2
No files found.
avconv.c
View file @
dcb7ef54
...
...
@@ -104,7 +104,7 @@ typedef struct MetadataMap {
int
index
;
///< stream/chapter/program number
}
MetadataMap
;
static
const
OptionDef
options
[]
;
static
const
OptionDef
*
options
;
static
int
video_discard
=
0
;
static
int
same_quant
=
0
;
...
...
@@ -4858,7 +4858,7 @@ static int opt_filter_complex(const char *opt, const char *arg)
}
#define OFFSET(x) offsetof(OptionsContext, x)
static
const
OptionDef
options
[]
=
{
static
const
OptionDef
real_
options
[]
=
{
/* main options */
#include "cmdutils_common_opts.h"
{
"f"
,
HAS_ARG
|
OPT_STRING
|
OPT_OFFSET
,
{.
off
=
OFFSET
(
format
)},
"force format"
,
"fmt"
},
...
...
@@ -4975,6 +4975,7 @@ int main(int argc, char **argv)
OptionsContext
o
=
{
0
};
int64_t
ti
;
options
=
real_options
;
reset_options
(
&
o
);
av_log_set_flags
(
AV_LOG_SKIP_REPEATED
);
...
...
avprobe.c
View file @
dcb7ef54
...
...
@@ -44,7 +44,7 @@ static int use_byte_value_binary_prefix = 0;
static
int
use_value_sexagesimal_format
=
0
;
/* globals */
static
const
OptionDef
options
[]
;
static
const
OptionDef
*
options
;
/* AVprobe context */
static
const
char
*
input_filename
;
...
...
@@ -887,7 +887,7 @@ static void opt_pretty(void)
use_value_sexagesimal_format
=
1
;
}
static
const
OptionDef
options
[]
=
{
static
const
OptionDef
real_
options
[]
=
{
#include "cmdutils_common_opts.h"
{
"f"
,
HAS_ARG
,
{(
void
*
)
opt_format
},
"force format"
,
"format"
},
{
"of"
,
HAS_ARG
,
{(
void
*
)
&
opt_output_format
},
"output the document either as ini or json"
,
"output_format"
},
...
...
@@ -927,6 +927,7 @@ int main(int argc, char **argv)
if
(
!
buffer
)
exit
(
1
);
options
=
real_options
;
parse_loglevel
(
argc
,
argv
,
options
);
av_register_all
();
avformat_network_init
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment