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
61d36761
Commit
61d36761
authored
Jan 29, 2013
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
movenc: Simplify code by using avio_wb24
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
4e0bc996
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
movenc.c
libavformat/movenc.c
+1
-2
No files found.
libavformat/movenc.c
View file @
61d36761
...
...
@@ -305,8 +305,7 @@ static int mov_write_esds_tag(AVIOContext *pb, MOVTrack *track) // Basic
else
avio_w8
(
pb
,
0x11
);
// flags (= Visualstream)
avio_w8
(
pb
,
track
->
enc
->
rc_buffer_size
>>
(
3
+
16
));
// Buffersize DB (24 bits)
avio_wb16
(
pb
,
(
track
->
enc
->
rc_buffer_size
>>
3
)
&
0xFFFF
);
// Buffersize DB
avio_wb24
(
pb
,
track
->
enc
->
rc_buffer_size
>>
3
);
// Buffersize DB
avio_wb32
(
pb
,
FFMAX
(
track
->
enc
->
bit_rate
,
track
->
enc
->
rc_max_rate
));
// maxbitrate (FIXME should be max rate in any 1 sec window)
if
(
track
->
enc
->
rc_max_rate
!=
track
->
enc
->
rc_min_rate
||
track
->
enc
->
rc_min_rate
==
0
)
...
...
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