Should dav1d_data_wrap take a "const uint8_t* buf" pointer instead of non-const?
I.e., instead of:
DAV1D_API int dav1d_data_wrap(Dav1dData *data, uint8_t *buf, size_t sz, void (*free_callback)(uint8_t *buf, void *user_data), void *user_data);
Should it be:
DAV1D_API int dav1d_data_wrap(Dav1dData *data, const uint8_t *buf, size_t sz, void (*free_callback)(const uint8_t *buf, void *user_data), void *user_data);
Edited by Dale Curtis