[libbluray-devel] Headers needed by bd_read_mpls() are not installed

Holy Wu holywu at gmail.com
Sat May 6 17:08:46 CEST 2017


In bluray.h, the mpls_pl struct only has declaration but no definition.
Therefore the user can't do anything useful on the returned pointer of
bd_read_mpls(), because it's an incomplete type. While the definition of
mpls_pl struct is in "libbluray/bdnav/mpls_parse.h", the header itself also
includes another header "util/attributes.h". Both headers are not installed
by make, as they are not listed in pkginclude_HEADERS of Makefile.am. Hence
the user has to manually copy these two files to corresponding places.
That's really not a standard way to install and use a library. Probably
bd_read_mobj and bd_read_bdjo also have the same issues, although I don't
use the two releated functions.

Best regards,
HolyWu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20170506/1d93816a/attachment.html>


More information about the libbluray-devel mailing list