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

Thilo Borgmann git at videolan.org
Tue Aug 14 20:02:20 EEST 2018


ffmpeg | branch: release/4.0 | Thilo Borgmann <thilo.borgmann at mail.de> | Thu Aug  9 12:47:35 2018 +0200| [49a90d5d31433fc999d26f6c5d83f3d4560befee] | committer: Aman Gupta

lavc/videotoolboxenc: Fix compilation on osx 10.10.5 Yosemite

Signed-off-by: Aman Gupta <aman at tmm1.net>
(cherry picked from commit 72d9b8f4c53ce3de48ba43ddeeccc62f6932b376)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=49a90d5d31433fc999d26f6c5d83f3d4560befee
---

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

diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index f311149e40..50aba2d87f 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);



More information about the ffmpeg-cvslog mailing list