diff options
author | Andreas Rheinhardt <[email protected]> | 2025-04-28 11:25:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2025-04-30 23:33:39 +0200 |
commit | 8279d02cf1998ec324b7624dc41ed15dc2b01cae (patch) | |
tree | 05deec2b550a5526c4d14c93bd08cad2306e449d /libavutil/pca.c | |
parent | 0a12b84d3b4025d55c443e5356d6eba546bcc1bb (diff) |
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 <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavutil/pca.c')
0 files changed, 0 insertions, 0 deletions