我得到了一个关于ffmpeg 2.6的编译错误。我用的是android-ndk-r10d。如何解决?
libavformat/mov.c:653: error: undefined reference to 'avpriv_ac3_channel_layout_tab'
libavformat/mov.c:685: error: undefined reference to 'avpriv_ac3_channel_layout_tab'
libavformat/movenc.c:4818: error: undefined reference to 'avpriv_pix_fmt_bps_mov'
libavformat/movenc.c:1359: error: undefined reference to 'avpriv_pix_fmt_bps_mov'
libavformat/utils.c:3375: error: undefined reference to 'avcodec_pix_fmt_to_codec_tag'
libavformat/utils.c:3376: error: undefined reference to 'avpriv_get_raw_pix_fmt_tags'
顺序应该是这样的:
LOCAL_STATIC_LIBRARIES += libavformat libavcodec libswresample libswscale libavutil