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

Support for legacy files #95

Open
Melirius opened this issue Sep 22, 2024 · 3 comments
Open

Support for legacy files #95

Melirius opened this issue Sep 22, 2024 · 3 comments

Comments

@Melirius
Copy link
Collaborator

I found out that library does not support legacy Lepton files:

thread 'main' panicked at src\structs\lepton_header.rs:206:29:
attempt to subtract with overflow

It looks like it is possible to get in single-threaded mode.

@mcroomp
Copy link
Collaborator

mcroomp commented Sep 24, 2024

Can you give me a file to test on? All legacy files should work.

@Melirius
Copy link
Collaborator Author

This is the file of DB Lepton test suite https://github.com/dropbox/lepton/blob/master/images/gold-legacy.lep

@Melirius
Copy link
Collaborator Author

Effectively I cannot find out in the code an equivalent of https://github.com/dropbox/lepton/blob/master/src/lepton/vp8_decoder.cc#L337 onwards, that is reading legacy file header. Then we arrive to lepton_header.rs:206:29 with empty thread_handoff

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

No branches or pull requests

2 participants