[FFmpeg-devel] [PATCH] lavc/videotoolboxenc: Fix compilation on osx 10.10.5 Yosemite

Thilo Borgmann thilo.borgmann at mail.de
Thu Aug 9 13:55:57 EEST 2018


$Subject

-Thilo
-------------- next part --------------
From 07ad940ffe051319591a204463b44f29699a5a4b Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann at mail.de>
Date: Thu, 9 Aug 2018 12:47:35 +0200
Subject: [PATCH] lavc/videotoolboxenc: Fix compilation on osx 10.10.5 Yosemite

---
 libavcodec/videotoolboxenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index f311149..50aba2d 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -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);
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list