aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/checkasm.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-18 18:50:59 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-25 23:01:37 +0200
commitd60445258ce5d11eaccc285e5c7931ad26a96eb5 (patch)
tree5815d591020f9fedeb6136d700a946048c8318b5 /tests/checkasm/checkasm.c
parent6676038b23bd8272b9d6b9bb94f64b55f5dfd954 (diff)
downloadffmpeg-d60445258ce5d11eaccc285e5c7931ad26a96eb5.tar.gz
avcodec/webp: Check more directly for invalid codes
Don't rely on invalid codes leading to get_vlc2() returning -1, which then gets converted to an uint8_t, i.e. to 255 and runs afoul of a length check later. After all, get_vlc2() could be changed to return something else which may be valid when cast to uint8_t. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/checkasm/checkasm.c')
0 files changed, 0 insertions, 0 deletions