xiph / libopusenc

Library for encoding .opus audio files and live streams.
BSD 3-Clause "New" or "Revised" License
108 stars 39 forks source link

size_t needs including <stddef.h> #12

Closed joerg-krause closed 6 years ago

joerg-krause commented 6 years ago

ope_comments_add_picture_from_memory() has a size_t argument, but does not include <stddef.h>: https://github.com/xiph/libopusenc/blob/0130afaa7ab6141d4d5dad078748dcddf0d63ce8/include/opusenc.h#L252

This breaks building libopusenc with the musl C library, which is very strict about including headers.

jmvalin commented 6 years ago

Thanks for reporting the issue. Fixed in master.