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
3dff1bf9
Commit
3dff1bf9
authored
Jan 05, 2013
by
Yoshihisa Uchida
Committed by
Luca Barbato
May 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmf: Write metadata into an Optional Data chunk
Signed-off-by:
Luca Barbato
<
lu_zero@gentoo.org
>
parent
a349458e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
mmf.c
libavformat/mmf.c
+4
-1
No files found.
libavformat/mmf.c
View file @
3dff1bf9
...
...
@@ -83,7 +83,10 @@ static int mmf_write_header(AVFormatContext *s)
avio_w8
(
pb
,
0
);
/* code type */
avio_w8
(
pb
,
0
);
/* status */
avio_w8
(
pb
,
0
);
/* counts */
avio_write
(
pb
,
"VN:libavcodec,"
,
sizeof
(
"VN:libavcodec,"
)
-
1
);
/* metadata ("ST:songtitle,VN:version,...") */
end_tag_be
(
pb
,
pos
);
pos
=
ff_start_tag
(
pb
,
"OPDA"
);
avio_write
(
pb
,
"VN:libavcodec,"
,
sizeof
(
"VN:libavcodec,"
)
-
1
);
/* metadata ("ST:songtitle,VN:version,...") */
end_tag_be
(
pb
,
pos
);
avio_write
(
pb
,
"ATR
\x00
"
,
4
);
...
...
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