Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent ADTS probe false positives when bytes following ID3 are a match for MPEG audio #5783

Merged
merged 1 commit into from Aug 31, 2023

Conversation

robwalch
Copy link
Collaborator

This PR will...

Prevent ADTS probe false positives when bytes following ID3 are a match for MPEG audio

Why is this Pull Request needed?

TS/ADTS/MP3 probe methods scan through all or most bytes to find a sync word, and as a result sometimes find a false positive. We tried removing this in v1.2.x, but users with malformed content (media segments starting with JPEG bytes) reported that they depended on it this functionality so it was kept in (#5002).

Are there any points in the code the reviewer needs to double check?

Resolves issues:

Fixes #5782

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch added this to the 1.5.0 milestone Aug 30, 2023
@robwalch robwalch mentioned this pull request Aug 30, 2023
5 tasks
@robwalch robwalch merged commit bdb0114 into master Aug 31, 2023
16 checks passed
@robwalch robwalch deleted the bugfix/mp3-probe-fix branch August 31, 2023 15:11
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.

ADTS sync word found !
1 participant