diff options
author | Idan Freiberg <speidy@gmail.com> | 2021-01-13 14:34:54 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-01-14 14:20:02 +0100 |
commit | a6912e5b88463b7b39cc3ee4f9338f57ef7ff7e6 (patch) | |
tree | 9acebbeaf55bd4404f306c6ac6c2ef74f3de762d /libavfilter/f_cue.c | |
parent | f6477ac9f4daf3de2604d1cc5b27e66952d610b1 (diff) | |
download | ffmpeg-a6912e5b88463b7b39cc3ee4f9338f57ef7ff7e6.tar.gz |
avformat/dhav: Fix incorrect non-DHAV chunk skipping logic
DAV files may contain a variable length padding in between chunks
filled with 0xff bytes. The current skipping logic is incorrect as it
may skip over DHAV chunks not appearing sequentially in the file.
We now look for the 'DHAV' tag using a byte-by-byte search in order
to handle such situations. Also the dhav->last_good_pos field will
not be updated while skipping unrecognized data.
Diffstat (limited to 'libavfilter/f_cue.c')
0 files changed, 0 insertions, 0 deletions