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
c9ae8be5
Commit
c9ae8be5
authored
Jul 26, 2016
by
Michael Bradshaw
Committed by
Michael Niedermayer
Jul 31, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/matroskaenc: fix Voids with size < 10
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
390eea61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
matroskaenc.c
libavformat/matroskaenc.c
+1
-1
No files found.
libavformat/matroskaenc.c
View file @
c9ae8be5
...
...
@@ -280,7 +280,7 @@ static void put_ebml_void(AVIOContext *pb, uint64_t size)
// size we need to reserve so 2 cases, we use 8 bytes to store the
// size if possible, 1 byte otherwise
if
(
size
<
10
)
put_ebml_num
(
pb
,
size
-
1
,
0
);
put_ebml_num
(
pb
,
size
-
2
,
0
);
else
put_ebml_num
(
pb
,
size
-
9
,
8
);
ffio_fill
(
pb
,
0
,
currentpos
+
size
-
avio_tell
(
pb
));
...
...
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