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

decoder: update sentinel counter even for bad packets #223

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

jailuthra
Copy link
Contributor

What?
Fix the incrementing logic of the flush "sentinel" packet counter. Previously that counter was not updated if FFmpeg threw an error for the packet, which lead to an infinite loop.

Why?
Fixes #222

Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yondonfu yondonfu merged commit 9c95156 into master Feb 3, 2021
@yondonfu yondonfu deleted the jai/sentinel branch February 3, 2021 16:19
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.

Stuck in error loop if decoding fails for flush packet
2 participants