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
9b6b0c79
Commit
9b6b0c79
authored
Sep 05, 2007
by
David Conrad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put_ebml_float()
Originally committed as revision 10299 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1e18c4d0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
matroskaenc.c
libavformat/matroskaenc.c
+8
-0
No files found.
libavformat/matroskaenc.c
View file @
9b6b0c79
...
...
@@ -67,6 +67,14 @@ static void put_ebml_uint(ByteIOContext *pb, unsigned int elementid, uint64_t va
//static void put_ebml_sint(ByteIOContext *pb, unsigned int elementid, int64_t val)
static
void
put_ebml_float
(
ByteIOContext
*
pb
,
unsigned
int
elementid
,
double
val
)
{
// XXX: single-precision floats?
put_ebml_id
(
pb
,
elementid
);
put_ebml_size
(
pb
,
8
,
0
);
put_be64
(
pb
,
av_dbl2int
(
val
));
}
static
void
put_ebml_binary
(
ByteIOContext
*
pb
,
unsigned
int
elementid
,
const
uint8_t
*
buf
,
int
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