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
4bb3ae1e
Commit
4bb3ae1e
authored
Sep 05, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: use correct index when selecting metadata to write to.
parent
f39ecc79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
avconv.c
avconv.c
+2
-2
No files found.
avconv.c
View file @
4bb3ae1e
...
@@ -3571,14 +3571,14 @@ static void opt_output_file(void *optctx, const char *filename)
...
@@ -3571,14 +3571,14 @@ static void opt_output_file(void *optctx, const char *filename)
av_log
(
NULL
,
AV_LOG_ERROR
,
"Invalid stream index %d in metadata specifier.
\n
"
,
index
);
av_log
(
NULL
,
AV_LOG_ERROR
,
"Invalid stream index %d in metadata specifier.
\n
"
,
index
);
exit_program
(
1
);
exit_program
(
1
);
}
}
m
=
&
oc
->
streams
[
i
]
->
metadata
;
m
=
&
oc
->
streams
[
i
ndex
]
->
metadata
;
break
;
break
;
case
'c'
:
case
'c'
:
if
(
index
<
0
||
index
>=
oc
->
nb_chapters
)
{
if
(
index
<
0
||
index
>=
oc
->
nb_chapters
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Invalid chapter index %d in metadata specifier.
\n
"
,
index
);
av_log
(
NULL
,
AV_LOG_ERROR
,
"Invalid chapter index %d in metadata specifier.
\n
"
,
index
);
exit_program
(
1
);
exit_program
(
1
);
}
}
m
=
&
oc
->
chapters
[
i
]
->
metadata
;
m
=
&
oc
->
chapters
[
i
ndex
]
->
metadata
;
break
;
break
;
default
:
default
:
av_log
(
NULL
,
AV_LOG_ERROR
,
"Invalid metadata specifier %s.
\n
"
,
o
->
metadata
[
i
].
specifier
);
av_log
(
NULL
,
AV_LOG_ERROR
,
"Invalid metadata specifier %s.
\n
"
,
o
->
metadata
[
i
].
specifier
);
...
...
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