aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample/arm/audio_convert_init.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-12-14 23:19:13 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-12-15 23:43:49 +0100
commited9279afbd3be917b599c8a52ad8414db8b58c0e (patch)
treea3d144b6253f3e297de5f1b69359f9d1f7eaabf6 /libavresample/arm/audio_convert_init.c
parent9fe07908c3f67d59cf4db5668d61b34506189590 (diff)
downloadffmpeg-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 'libavresample/arm/audio_convert_init.c')
0 files changed, 0 insertions, 0 deletions