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
22ccb69a
Commit
22ccb69a
authored
Sep 05, 2007
by
David Conrad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ebml_id_size()
Originally committed as revision 10350 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ec8f4ad9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
matroskaenc.c
libavformat/matroskaenc.c
+5
-5
No files found.
libavformat/matroskaenc.c
View file @
22ccb69a
...
...
@@ -67,6 +67,11 @@ typedef struct MatroskaMuxContext {
struct
AVMD5
*
md5_ctx
;
}
MatroskaMuxContext
;
static
int
ebml_id_size
(
unsigned
int
id
)
{
return
(
av_log2
(
id
+
1
)
-
1
)
/
7
+
1
;
}
static
void
put_ebml_id
(
ByteIOContext
*
pb
,
unsigned
int
id
)
{
if
(
id
>=
0x3fffff
)
...
...
@@ -78,11 +83,6 @@ static void put_ebml_id(ByteIOContext *pb, unsigned int id)
put_byte
(
pb
,
id
);
}
static
int
ebml_id_size
(
unsigned
int
id
)
{
return
(
av_log2
(
id
+
1
)
-
1
)
/
7
+
1
;
}
/**
* Write an EBML size meaning "unknown size"
*
...
...
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