Comment 6 for bug 831190

Revision history for this message
Colin Watson (cjwatson) wrote :

Sorry about that - I'm not sure how that got past my testing. There were two problems. Firstly, the link line was in the wrong order; libraries should come after the objects/libraries that use symbols from them, so the PKG_CHECK_MODULES ordering in configure.in was wrong. This didn't actually fix the problem but I've included it in my updated patch anyway for completeness. Secondly, <libavutil/pixdesc.h> was being included as a C++ header rather than as a C header; the clue here was that the undefined reference was to av_get_pix_fmt_name(PixelFormat) rather than just to av_get_pix_fmt_name.

Please try the attached patch.