diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-15 14:11:19 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-04-28 01:27:57 +0200 |
commit | 67f796050519a3a3f1d52c6b054d3c80b8980cd2 (patch) | |
tree | 1c165ee159ce65d3ad811bb465b333301c5e5120 /libavcodec/speedhqenc.c | |
parent | be6cd7dfd122cf7cd8841fd41d02067867f25898 (diff) | |
download | ffmpeg-67f796050519a3a3f1d52c6b054d3c80b8980cd2.tar.gz |
avcodec/pgxdec: Remove pointless checks
These checks were (most likely) added to check for overreads
as the bytestream2_get_* functions return 0 in this case.
Yet this is not necessary anymore as we now have an explicit check
for the size. Should the input contain a real \0, pgx_get_number()
will error out lateron.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/speedhqenc.c')
0 files changed, 0 insertions, 0 deletions