Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
e8cd9b00
Commit
e8cd9b00
authored
Mar 09, 2015
by
Ghislain MARY
Browse files
Fix syntax for av_frame_* symbol lookup.
parent
e20ee8dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
cmake/FindFFMpeg.cmake
cmake/FindFFMpeg.cmake
+6
-6
No files found.
cmake/FindFFMpeg.cmake
View file @
e8cd9b00
...
...
@@ -86,12 +86,12 @@ if(FFMPEG_LIBRARIES)
if
(
MSVC
)
list
(
APPEND CMAKE_REQUIRED_DEFINITIONS -Dinline=__inline
)
endif
()
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
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
)
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
;
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment