lavc/videotoolboxenc: Fix compilation on osx 10.10.5 Yosemite
authorThilo Borgmann <thilo.borgmann at mail.de>
Thu, 9 Aug 2018 10:47:35 +0000 (12:47 +0200)
committerAman Gupta <aman@tmm1.net>
Tue, 14 Aug 2018 17:01:30 +0000 (10:01 -0700)
Signed-off-by: Aman Gupta <aman@tmm1.net>
libavcodec/videotoolboxenc.c

index f311149..50aba2d 100644 (file)
@@ -41,7 +41,7 @@ enum { kCMVideoCodecType_HEVC = 'hvc1' };
 
 typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc,
                                            size_t parameterSetIndex,
-                                           const uint8_t * _Nullable *parameterSetPointerOut,
+                                           const uint8_t **parameterSetPointerOut,
                                            size_t *parameterSetSizeOut,
                                            size_t *parameterSetCountOut,
                                            int *NALUnitHeaderLengthOut);