diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-14 23:19:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-15 23:43:49 +0100 |
commit | ed9279afbd3be917b599c8a52ad8414db8b58c0e (patch) | |
tree | a3d144b6253f3e297de5f1b69359f9d1f7eaabf6 /tests/ref/fate/h264-conformance-cama1_toshiba_b | |
parent | 9fe07908c3f67d59cf4db5668d61b34506189590 (diff) | |
download | ffmpeg-ed9279afbd3be917b599c8a52ad8414db8b58c0e.tar.gz |
h264_mp4toannexb: Remove unnecessary check
There can be at most 31 SPS and 255 PPS in the mp4/Matroska extradata.
Given that each has a size of at most 2^16-1, the length of the output
derived from these parameter sets can never overflow an ordinary 32 bit
integer. So use a simple uint32_t instead of uint64_t and replace the
unnecessary check with an av_assert1.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/ref/fate/h264-conformance-cama1_toshiba_b')
0 files changed, 0 insertions, 0 deletions