VLC git build error
../doltlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DMODULE_STRING=\"$(p="codec/avcodec/libvaapi_x11_plugin_la-vaapi.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p="${p%.lo}"; echo "$p")\" -D__PLUGIN__ -I./access -I./codec -DVLC_VA_BACKEND_XLIB -I../include -I../include -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -c -o codec/avcodec/libvaapi_x11_plugin_la-vaapi.lo `test -f 'codec/avcodec/vaapi.c' || echo './'`codec/avcodec/vaapi.c
../doltlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DMODULE_STRING=\"$(p="codec/libx264_plugin_la-x264.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p="${p%.lo}"; echo "$p")\" -D__PLUGIN__ -I./access -I./codec -DMODULE_NAME_IS_x264 -I../include -I../include -march=native -mtune=native -O2 -pipe -fomit-frame-pointer -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -fvisibility=hidden -c -o codec/libx264_plugin_la-x264.lo `test -f 'codec/x264.c' || echo './'`codec/x264.c
codec/avcodec/avcodec.c: In function ‘OpenDecoder’:
codec/avcodec/avcodec.c:316:9: error: implicit declaration of function ‘avcodec_free_context’ [-Werror=implicit-function-declaration]
avcodec_free_context( &avctx );
^
cc1: some warnings being treated as errors
Makefile:7909: recipe for target 'codec/avcodec/libavcodec_plugin_la-avcodec.lo' failed
make[4]: *** [codec/avcodec/libavcodec_plugin_la-avcodec.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
video_chroma/copy.c: In function ‘CopyFromUswc’:
video_chroma/copy.c:104:35: warning: unused parameter ‘cpu’ [-Wunused-parameter]
unsigned cpu)
^
video_chroma/copy.c: In function ‘SSE_SplitUV’:
video_chroma/copy.c:180:67: warning: unused parameter ‘cpu’ [-Wunused-parameter]
unsigned width, unsigned height, unsigned cpu)
^
make[4]: Leaving directory '/tmp/portage/media-video/vlc-9999/work/vlc-9999/modules'
Makefile:9818: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/portage/media-video/vlc-9999/work/vlc-9999/modules'
Makefile:4577: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/portage/media-video/vlc-9999/work/vlc-9999/modules'
Makefile:1952: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/portage/media-video/vlc-9999/work/vlc-9999'
Makefile:1836: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: media-video/vlc-9999::gentoo failed (compile phase):
* emake failed