-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libavcenc: use number_t while computing number of bits in period
For large intra frame intervals or for a choice of bit rate that causes large bits per frame, it possible that while computing number of bits available in the gop overflow the datatype bounds. For these calculations use number_t as this offers wider space Bug: oss-fuzz-63044 Test: avc_enc_fuzzer Change-Id: Ifee9130f0021f77905aea67832abc044537088e5
- Loading branch information
Showing
1 changed file
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters