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
203cce9a
Commit
203cce9a
authored
Sep 05, 2007
by
David Conrad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify
Originally committed as revision 10365 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
8cf3bb26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
matroskaenc.c
libavformat/matroskaenc.c
+3
-7
No files found.
libavformat/matroskaenc.c
View file @
203cce9a
...
...
@@ -104,14 +104,10 @@ static void put_ebml_id(ByteIOContext *pb, unsigned int id)
*/
static
void
put_ebml_size_unknown
(
ByteIOContext
*
pb
,
int
bytes
)
{
uint64_t
value
=
0
;
int
i
;
bytes
=
FFMIN
(
bytes
,
8
);
for
(
i
=
0
;
i
<
bytes
*
7
+
1
;
i
++
)
value
|=
1ULL
<<
i
;
for
(
i
=
bytes
-
1
;
i
>=
0
;
i
--
)
put_byte
(
pb
,
value
>>
i
*
8
);
put_byte
(
pb
,
0x1ff
>>
bytes
);
while
(
--
bytes
)
put_byte
(
pb
,
0xff
);
}
/**
...
...
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