Skip to content

Conversation

scotts
Copy link
Contributor

@scotts scotts commented Mar 4, 2025

  1. We had a struct, AVInput, which was not necessary. Removing it allows us to simplify setting up a VideoDecoder that uses an AVIOContext that reads directly from a provided buffer of bytes.
  2. Normalize style of names and clarify purpose.
  3. Use TORCH_CHECK instead of throwing exceptions.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 4, 2025
@scotts scotts marked this pull request as ready for review March 4, 2025 14:47
@scotts scotts merged commit 5e325a2 into meta-pytorch:main Mar 4, 2025
46 checks passed
@scotts scotts deleted the refactor_avio branch March 4, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants