aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_levels.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc/h264_levels: add MaxMBPS checking and update fate test.Decai Lin2019-03-271-0/+4
| | | | | | | | | 1. add MaxMBPS checking for level idc setting to align with AVC spec AnnexA table A-1/A-6 level limits. 2. update h264 level fate test. Signed-off-by: Decai Lin <decai.lin@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* h264_levels, h264_metadata_bsf: Fix levels typoAndreas Rheinhardt2018-11-131-1/+1
| | | | | | | profile_idc for level 1b should be 11, not 10. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* lavc/h264_levels: Avoid integer overflow in bitrateMark Thompson2018-09-241-1/+1
| | | | Fixes CID #1439656.
* lavc/h264: Add common code for level handlingMark Thompson2018-09-231-0/+130
Including a unit test.