Skip to content

AV1: Fix parser looping on zero bytes - #2661

Merged
JeromeMartinez merged 1 commit into
MediaArea:masterfrom
cjee21:av1-annexb
Sep 29, 2026
Merged

JeromeMartinez merged 1 commit into
MediaArea:masterfrom
cjee21:av1-annexb

Conversation

@cjee21

@cjee21 cjee21 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Fix #2659

@cjee21

cjee21 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

Tested to produce identical output as before with no regressions with the following 2756 test files from Argon Streams AV1:
profile0_core
profile0_core_special
profile0_not_annexb
profile0_not_annexb_special
profile1_core
profile1_core_special
profile1_not_annexb
profile1_not_annexb_special
profile2_core
profile2_core_special
profile2_not_annexb
profile2_not_annexb_special

@JeromeMartinez

Copy link
Copy Markdown
Member

I don't like the hard rejection of the file but there is no sync bytes and I don't see a better solution for the moment, so let's go with that.

@JeromeMartinez
JeromeMartinez merged commit 7cefb46 into MediaArea:master Sep 29, 2026
20 checks passed
@cjee21
cjee21 deleted the av1-annexb branch September 29, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MediaInfo hangs up to 3 minutes when invoked programmatically via DLL/API on corrupted files

2 participants