aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/apv_decode.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-28 11:25:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-30 23:33:39 +0200
commit8279d02cf1998ec324b7624dc41ed15dc2b01cae (patch)
tree05deec2b550a5526c4d14c93bd08cad2306e449d /libavcodec/apv_decode.c
parent0a12b84d3b4025d55c443e5356d6eba546bcc1bb (diff)
downloadffmpeg-8279d02cf1998ec324b7624dc41ed15dc2b01cae.tar.gz
avformat/apvdec: Check before access
The signature check would segfault in case the packet could not be allocated or if nothing could be read. Furthermore, read_packet callbacks are supposed to return zero on success, yet the current code returned the size of the packet. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/apv_decode.c')
0 files changed, 0 insertions, 0 deletions