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
27 stars 9 forks source link

obudump: fix segfault on exit #3

Closed tmatth closed 1 year ago

tmatth commented 1 year ago

"The behaviour of fclose() is undefined if the stream parameter is an illegal pointer..."

tmatth commented 1 year ago

Caught by:

tmatth@bellini:/big-repos/obuparse$ ./tools/obudump --help
Couldn't open '--help'.
Segmentation fault (core dumped)
dwbuiten commented 1 year ago

Pushed as 385466fa05bb742e098d590813d884468d659998