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
d7ea14c5
Commit
d7ea14c5
authored
Jul 18, 2017
by
Clément Bœsch
Committed by
Clément Bœsch
Jul 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: reindent after previous commit
parent
b7a74122
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
ffmpeg_opt.c
ffmpeg_opt.c
+12
-13
No files found.
ffmpeg_opt.c
View file @
d7ea14c5
...
@@ -1058,23 +1058,22 @@ static int open_input_file(OptionsContext *o, const char *filename)
...
@@ -1058,23 +1058,22 @@ static int open_input_file(OptionsContext *o, const char *filename)
AVDictionary
**
opts
=
setup_find_stream_info_opts
(
ic
,
o
->
g
->
codec_opts
);
AVDictionary
**
opts
=
setup_find_stream_info_opts
(
ic
,
o
->
g
->
codec_opts
);
int
orig_nb_streams
=
ic
->
nb_streams
;
int
orig_nb_streams
=
ic
->
nb_streams
;
// TODO: reindent
/* If not enough info to get the stream parameters, we decode the
/* If not enough info to get the stream parameters, we decode the
first frames to get it. (used in mpeg case for example) */
first frames to get it. (used in mpeg case for example) */
ret
=
avformat_find_stream_info
(
ic
,
opts
);
ret
=
avformat_find_stream_info
(
ic
,
opts
);
for
(
i
=
0
;
i
<
orig_nb_streams
;
i
++
)
for
(
i
=
0
;
i
<
orig_nb_streams
;
i
++
)
av_dict_free
(
&
opts
[
i
]);
av_dict_free
(
&
opts
[
i
]);
av_freep
(
&
opts
);
av_freep
(
&
opts
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
av_log
(
NULL
,
AV_LOG_FATAL
,
"%s: could not find codec parameters
\n
"
,
filename
);
av_log
(
NULL
,
AV_LOG_FATAL
,
"%s: could not find codec parameters
\n
"
,
filename
);
if
(
ic
->
nb_streams
==
0
)
{
if
(
ic
->
nb_streams
==
0
)
{
avformat_close_input
(
&
ic
);
avformat_close_input
(
&
ic
);
exit_program
(
1
);
exit_program
(
1
);
}
}
}
}
}
}
if
(
o
->
start_time_eof
!=
AV_NOPTS_VALUE
)
{
if
(
o
->
start_time_eof
!=
AV_NOPTS_VALUE
)
{
if
(
ic
->
duration
>
0
)
{
if
(
ic
->
duration
>
0
)
{
...
...
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