summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 3af48d72..1ce816f3 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -1145,7 +1145,7 @@ AC_ARG_ENABLE(openh264,
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <wels/codec_api.h>
#include <wels/codec_app_def.h>
]],
- [int main() { CreateSVCEncoder(0); return 0; }]
+ [WelsCreateSVCEncoder(0);]
)],
[ ac_openh264_cflags="-DPJMEDIA_HAS_OPENH264_CODEC=1 $OPENH264_CFLAGS"
ac_openh264_ldflags="$OPENH264_LDFLAGS $OPENH264_LIBS"