diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-15 07:51:29 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-19 00:18:35 +0100 |
commit | db57a5370bd37105d389a45b04bf4970802407ec (patch) | |
tree | 01ebfb391b5d0cdcb7f62918f830ddbddd0f70a5 /libavcodec/prosumer.c | |
parent | 2d368392a5d6b856d63959ae8bfd40dd598c27e7 (diff) | |
download | ffmpeg-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/prosumer.c')
0 files changed, 0 insertions, 0 deletions