applemedia: vtenc: fix build break on iOS
authorHyunjun Ko <zzoon@igalia.com>
Thu, 21 Apr 2016 01:06:40 +0000 (10:06 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 21 Apr 2016 06:28:01 +0000 (09:28 +0300)
Fix 'conflicting types' error
https://bugzilla.gnome.org/show_bug.cgi?id=765292

sys/applemedia/vtenc.c

index 39e5810..5c0c6ca 100644 (file)
@@ -58,7 +58,7 @@ const CFStringRef kVTCompressionPropertyKey_Quality = CFSTR ("Quality");
 #endif
 
 #ifdef HAVE_VIDEOTOOLBOX_10_9_6
-extern int
+extern OSStatus
 VTCompressionSessionPrepareToEncodeFrames (VTCompressionSessionRef session)
     __attribute__ ((weak_import));
 #endif