Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
b1034505
Commit
b1034505
authored
Aug 31, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffplay: fix function parameters
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c617bed3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ffplay.c
ffplay.c
+8
-8
No files found.
ffplay.c
View file @
b1034505
...
...
@@ -2881,25 +2881,25 @@ static void event_loop(VideoState *cur_stream)
}
}
static
int
opt_frame_size
(
const
char
*
opt
,
const
char
*
arg
)
static
int
opt_frame_size
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
)
{
av_log
(
NULL
,
AV_LOG_WARNING
,
"Option -s is deprecated, use -video_size.
\n
"
);
return
opt_default
(
NULL
,
"video_size"
,
arg
);
}
static
int
opt_width
(
const
char
*
opt
,
const
char
*
arg
)
static
int
opt_width
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
)
{
screen_width
=
parse_number_or_die
(
opt
,
arg
,
OPT_INT64
,
1
,
INT_MAX
);
return
0
;
}
static
int
opt_height
(
const
char
*
opt
,
const
char
*
arg
)
static
int
opt_height
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
)
{
screen_height
=
parse_number_or_die
(
opt
,
arg
,
OPT_INT64
,
1
,
INT_MAX
);
return
0
;
}
static
int
opt_format
(
const
char
*
opt
,
const
char
*
arg
)
static
int
opt_format
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
)
{
file_iformat
=
av_find_input_format
(
arg
);
if
(
!
file_iformat
)
{
...
...
@@ -2909,13 +2909,13 @@ static int opt_format(const char *opt, const char *arg)
return
0
;
}
static
int
opt_frame_pix_fmt
(
const
char
*
opt
,
const
char
*
arg
)
static
int
opt_frame_pix_fmt
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
)
{
av_log
(
NULL
,
AV_LOG_WARNING
,
"Option -pix_fmt is deprecated, use -pixel_format.
\n
"
);
return
opt_default
(
NULL
,
"pixel_format"
,
arg
);
}
static
int
opt_sync
(
const
char
*
opt
,
const
char
*
arg
)
static
int
opt_sync
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
)
{
if
(
!
strcmp
(
arg
,
"audio"
))
av_sync_type
=
AV_SYNC_AUDIO_MASTER
;
...
...
@@ -2930,7 +2930,7 @@ static int opt_sync(const char *opt, const char *arg)
return
0
;
}
static
int
opt_seek
(
const
char
*
opt
,
const
char
*
arg
)
static
int
opt_seek
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
)
{
start_time
=
parse_time_or_die
(
opt
,
arg
,
1
);
return
0
;
...
...
@@ -2942,7 +2942,7 @@ static int opt_duration(void *optctx, const char *opt, const char *arg)
return
0
;
}
static
int
opt_show_mode
(
const
char
*
opt
,
const
char
*
arg
)
static
int
opt_show_mode
(
void
*
optctx
,
const
char
*
opt
,
const
char
*
arg
)
{
show_mode
=
!
strcmp
(
arg
,
"video"
)
?
SHOW_MODE_VIDEO
:
!
strcmp
(
arg
,
"waves"
)
?
SHOW_MODE_WAVES
:
...
...
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