dwbuiten / obuparse

A simple and portable single file AV1 OBU parser written in mostly C89 with a tiny bit of C99, with a permissive license.
ISC License
26 stars 7 forks source link

reduced still picture header parsing error #1

Closed cconcolato closed 3 years ago

cconcolato commented 3 years ago

According to the spec, this line https://github.com/dwbuiten/obuparse/blob/e6e74f6b8e6bfc2c6a671899adff6bb05c4a7137/obuparse.c#L1144 should be setting the value to 0, not 1.

dwbuiten commented 3 years ago

Thanks, you're correct, this was a bug.

(There is also, I think, a bug or two in parsing streams with multiple operating points, but I don't have any streams to test with yet - I think @negge had one to give me.)