Commit e20ee8dd authored by Ghislain MARY's avatar Ghislain MARY

Also check in libavutil/frame.h for av_frame* symbols.

parent 8dc83083
......@@ -89,9 +89,9 @@ if(FFMPEG_LIBRARIES)
check_symbol_exists(avcodec_get_context_defaults3 libavcodec/avcodec.h HAVE_FUN_avcodec_get_context_defaults3)
check_symbol_exists(avcodec_open2 libavcodec/avcodec.h HAVE_FUN_avcodec_open2)
check_symbol_exists(avcodec_encode_video2 libavcodec/avcodec.h HAVE_FUN_avcodec_encode_video2)
check_symbol_exists(av_frame_alloc libavutil/avutil.h HAVE_FUN_av_frame_alloc)
check_symbol_exists(av_frame_free libavutil/avutil.h HAVE_FUN_av_frame_free)
check_symbol_exists(av_frame_unref libavutil/avutil.h HAVE_FUN_av_frame_unref)
check_symbol_exists(av_frame_alloc libavutil/avutil.h libavutil/frame.h HAVE_FUN_av_frame_alloc)
check_symbol_exists(av_frame_free libavutil/avutil.h libavutil/frame.h HAVE_FUN_av_frame_free)
check_symbol_exists(av_frame_unref libavutil/avutil.h libavutil/frame.h HAVE_FUN_av_frame_unref)
cmake_pop_check_state()
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment