Skip to content

Remove _send_packet_and_recv to simplify decode()#2233

Merged
WyattBlue merged 1 commit intoPyAV-Org:mainfrom
lgeiger:simplify-decode
Apr 17, 2026
Merged

Remove _send_packet_and_recv to simplify decode()#2233
WyattBlue merged 1 commit intoPyAV-Org:mainfrom
lgeiger:simplify-decode

Conversation

@lgeiger
Copy link
Copy Markdown
Contributor

@lgeiger lgeiger commented Apr 17, 2026

_send_packet_and_recv currently creates an extra list. This PR inlines the code into decode() to prevent the list creation which also simplifies the code a bit.

@WyattBlue WyattBlue merged commit b5eb9be into PyAV-Org:main Apr 17, 2026
7 checks passed
@lgeiger lgeiger deleted the simplify-decode branch April 17, 2026 00:56
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.

2 participants