asfdec: fix assert failure on invalid files
Add an extra size validity check in asf_read_frame_header(). Without this asf->packet_size_left may become negative, which triggers an assertion failure later.
Showing
Please
register
or
sign in
to comment