applemedia: vtenc: Fix a warning by weak-link symbol

Fix this warning
address of function 'VTCompressionSessionPrepareToEncodeFrames' will always evaluate to 'true' [-Wpointer-bool-conversion]

https://bugzilla.gnome.org/show_bug.cgi?id=765292
This commit is contained in:
Hyunjun Ko 2016-04-20 21:07:28 +09:00 committed by Sebastian Dröge
parent 7bee220af4
commit 5023a7c85d

View file

@ -57,6 +57,12 @@ CFSTR ("H264_Baseline_AutoLevel");
const CFStringRef kVTCompressionPropertyKey_Quality = CFSTR ("Quality"); const CFStringRef kVTCompressionPropertyKey_Quality = CFSTR ("Quality");
#endif #endif
#ifdef HAVE_VIDEOTOOLBOX_10_9_6
extern int
VTCompressionSessionPrepareToEncodeFrames (VTCompressionSessionRef session)
__attribute__ ((weak_import));
#endif
enum enum
{ {
PROP_0, PROP_0,