aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsvenc_hevc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-15 07:51:29 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-19 00:18:35 +0100
commitdb57a5370bd37105d389a45b04bf4970802407ec (patch)
tree01ebfb391b5d0cdcb7f62918f830ddbddd0f70a5 /libavcodec/qsvenc_hevc.c
parent2d368392a5d6b856d63959ae8bfd40dd598c27e7 (diff)
downloadffmpeg-db57a5370bd37105d389a45b04bf4970802407ec.tar.gz
avcodec/pngenc: Avoid potentially truncating integers
So use 64bits for max_packet_size instead of size_t which might be 32 bits; this is consistent with ff_alloc_packet(). Also remove a redundant size check (ff_alloc_packet() already checks for that). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/qsvenc_hevc.c')
0 files changed, 0 insertions, 0 deletions