On Mon, 13 Apr 2015, wm4 wrote:
This is optional, but ensures that linking with -Wl,--as-needed does not drop the library containing the MMAL VC driver. The driver normally "registers" itself in the library constructor, but since no symbols are explicitly referenced, the linker could remove it with as-needed enabled. --- At first I didn't think this was possible without hacks, but it turns out this API is actually considered public API. --- libavcodec/mmaldec.c | 8 ++++++++ 1 file changed, 8 insertions(+)
Nice, thanks! // Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
