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
_______________________________________________
libbluray-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to