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
5da35d1c
Commit
5da35d1c
authored
Oct 21, 2011
by
Raivo Hool
Committed by
Anton Khirnov
Oct 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mov: rename function _stik, some indentation cosmetics
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
80951f5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
mov.c
libavformat/mov.c
+7
-7
No files found.
libavformat/mov.c
View file @
5da35d1c
...
...
@@ -116,15 +116,15 @@ static int mov_metadata_int8_bypass_padding(MOVContext *c, AVIOContext *pb,
return
0
;
}
static
int
mov_metadata_
stik
(
MOVContext
*
c
,
AVIOContext
*
pb
,
unsigned
len
,
const
char
*
key
)
static
int
mov_metadata_
int8_no_padding
(
MOVContext
*
c
,
AVIOContext
*
pb
,
unsigned
len
,
const
char
*
key
)
{
char
buf
[
16
];
char
buf
[
16
];
snprintf
(
buf
,
sizeof
(
buf
),
"%hu"
,
avio_r8
(
pb
));
av_dict_set
(
&
c
->
fc
->
metadata
,
key
,
buf
,
0
);
snprintf
(
buf
,
sizeof
(
buf
),
"%hu"
,
avio_r8
(
pb
));
av_dict_set
(
&
c
->
fc
->
metadata
,
key
,
buf
,
0
);
return
0
;
return
0
;
}
static
int
mov_metadata_gnre
(
MOVContext
*
c
,
AVIOContext
*
pb
,
...
...
@@ -224,7 +224,7 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
case
MKTAG
(
't'
,
'v'
,
's'
,
'n'
):
key
=
"season_number"
;
parse
=
mov_metadata_int8_bypass_padding
;
break
;
case
MKTAG
(
's'
,
't'
,
'i'
,
'k'
):
key
=
"media_type"
;
parse
=
mov_metadata_
stik
;
break
;
parse
=
mov_metadata_
int8_no_padding
;
break
;
}
if
(
c
->
itunes_metadata
&&
atom
.
size
>
8
)
{
...
...
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