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
4aeb7769
Commit
4aeb7769
authored
Jun 19, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dump_metadata: Fix 0xd in metadata
Fixed ticket245 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
867b1067
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
utils.c
libavformat/utils.c
+7
-2
No files found.
libavformat/utils.c
View file @
4aeb7769
...
...
@@ -3329,8 +3329,13 @@ static void dump_metadata(void *ctx, AVDictionary *m, const char *indent)
av_log
(
ctx
,
AV_LOG_INFO
,
"%sMetadata:
\n
"
,
indent
);
while
((
tag
=
av_dict_get
(
m
,
""
,
tag
,
AV_DICT_IGNORE_SUFFIX
)))
{
if
(
strcmp
(
"language"
,
tag
->
key
))
av_log
(
ctx
,
AV_LOG_INFO
,
"%s %-16s: %s
\n
"
,
indent
,
tag
->
key
,
tag
->
value
);
if
(
strcmp
(
"language"
,
tag
->
key
)){
char
tmp
[
256
];
int
i
;
av_strlcpy
(
tmp
,
tag
->
value
,
sizeof
(
tmp
));
for
(
i
=
0
;
i
<
strlen
(
tmp
);
i
++
)
if
(
tmp
[
i
]
==
0xd
)
tmp
[
i
]
=
' '
;
av_log
(
ctx
,
AV_LOG_INFO
,
"%s %-16s: %s
\n
"
,
indent
,
tag
->
key
,
tmp
);
}
}
}
}
...
...
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