mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
AVI parser: fix reading & skipping video property header chunks
This one got broken in 7d32fdf223
. The
effect was that following chunks weren't read correctly. If the
following chunks were index chunks, the parts of the file the index
chunks pointed to weren't read either.
Fixes #3209.
This commit is contained in:
parent
d0ea7c40b6
commit
76d0b61287
5
NEWS.md
5
NEWS.md
@ -5,6 +5,11 @@
|
||||
* mkvmerge: AC-3 parser: E-AC-3 with BSID values > 10 and ≤ 15 are recognized
|
||||
now, too. Implements #3211.
|
||||
|
||||
## Bug fixes
|
||||
|
||||
* mkvmerge: AVI reader: fixed reading AVI files that contain `vprp` video
|
||||
properties header chunks; reading aborted too early. Fixes #3209.
|
||||
|
||||
|
||||
# Version 62.0.0 "Apollo" 2021-10-10
|
||||
|
||||
|
@ -2674,6 +2674,7 @@ int avi_parse_input_file(avi_t *AVI, int getIndex)
|
||||
AVI->video_properties_valid = 1;
|
||||
memcpy(&AVI->video_properties, hdrl_data + i + 8, sizeof(alVIDEO_PROPERTIES));
|
||||
}
|
||||
i += 8;
|
||||
}
|
||||
else if((strncasecmp((char *)(hdrl_data+i),"JUNK",4) == 0) ||
|
||||
(strncasecmp((char *)(hdrl_data+i),"strn",4) == 0)) {
|
||||
|
Loading…
Reference in New Issue
Block a user