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
581b4125
Commit
581b4125
authored
Sep 24, 2018
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/h264_levels: Avoid integer overflow in bitrate
Fixes CID #1439656.
parent
dc58e33d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
h264_levels.c
libavcodec/h264_levels.c
+1
-1
No files found.
libavcodec/h264_levels.c
View file @
581b4125
...
...
@@ -105,7 +105,7 @@ const H264LevelDescriptor *ff_h264_guess_level(int profile_idc,
if
(
level
->
constraint_set3_flag
&&
no_cs3f
)
continue
;
if
(
bitrate
>
level
->
max_br
*
h264_get_br_factor
(
profile_idc
))
if
(
bitrate
>
(
int64_t
)
level
->
max_br
*
h264_get_br_factor
(
profile_idc
))
continue
;
if
(
width_mbs
*
height_mbs
>
level
->
max_fs
)
...
...
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