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
78491fe8
Commit
78491fe8
authored
Jul 27, 2015
by
Alexandra Hájková
Committed by
Anton Khirnov
Jul 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asfdec: do not export empty metadata
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
3e853ff7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
asfdec.c
libavformat/asfdec.c
+4
-2
No files found.
libavformat/asfdec.c
View file @
78491fe8
...
...
@@ -256,8 +256,10 @@ static int asf_read_metadata(AVFormatContext *s, const char *title, uint16_t len
AVIOContext
*
pb
=
s
->
pb
;
avio_get_str16le
(
pb
,
len
,
ch
,
buflen
);
if
(
av_dict_set
(
&
s
->
metadata
,
title
,
ch
,
0
)
<
0
)
av_log
(
s
,
AV_LOG_WARNING
,
"av_dict_set failed.
\n
"
);
if
(
ch
[
0
])
{
if
(
av_dict_set
(
&
s
->
metadata
,
title
,
ch
,
0
)
<
0
)
av_log
(
s
,
AV_LOG_WARNING
,
"av_dict_set failed.
\n
"
);
}
return
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