aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggparseskeleton.c
diff options
context:
space:
mode:
authorGuo, Yejun <yejun.guo@intel.com>2019-08-07 10:44:27 +0800
committerPedro Arthur <bygrandao@gmail.com>2019-08-19 11:37:16 -0300
commitd0fa1a58da71492f665759e73c47daf04a9b658c (patch)
treef1a33a06c9c1f54f0abe9862a269469283c913a1 /libavformat/oggparseskeleton.c
parent67889d4715d4a65864fedba1b8e5e2918bd8152a (diff)
downloadffmpeg-d0fa1a58da71492f665759e73c47daf04a9b658c.tar.gz
FATE/dnn: let fate/dnn tests depend on ffmpeg static libraries
background: DNN (deep neural network) is a sub module of libavfilter, and FATE/dnn is unit test for the DNN module, one unit test for one dnn layer. The unit tests are not based on the APIs exported by libavfilter, they just directly call into the functions within DNN submodule. There is an issue when run the following command: build$ ../ffmpeg/configure --disable-static --enable-shared make make fate-dnn-layer-pad And part of error message: tests/dnn/dnn-layer-pad-test.o: In function `test_with_mode_symmetric': /work/media/ffmpeg/build/src/tests/dnn/dnn-layer-pad-test.c:73: undefined reference to `dnn_execute_layer_pad' The root cause is that function dnn_execute_layer_pad is a LOCAL symbol in libavfilter.so, and so the linker could not find it when build dnn-layer-pad-test. To check it, just run: readelf -s libavfilter/libavfilter.so | grep dnn So, add dependency in fate/dnn Makefile with ffmpeg static libraries. This is the same method used in fate/checkasm Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
Diffstat (limited to 'libavformat/oggparseskeleton.c')
0 files changed, 0 insertions, 0 deletions