[FFmpeg-devel] [PATCH] videotoolboxenc: Fix compile failure on OS X 10.10

Mark Harris mark.hsj at gmail.com
Thu Mar 3 04:52:18 CET 2016


> ---
>  libavcodec/videotoolboxenc.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
> index bbecb24..342c83c 100644
> --- a/libavcodec/videotoolboxenc.c
> +++ b/libavcodec/videotoolboxenc.c
> @@ -32,6 +32,14 @@
>  #include "internal.h"
>  #include <pthread.h>
>
> +#ifndef CM_NULLABLE
> +#define CM_NULLABLE
> +#endif
> +
> +#ifndef CV_NULLABLE
> +#define CV_NULLABLE
> +#endif
> +
>  typedef enum VT_H264Profile {
>      H264_PROF_AUTO,
>      H264_PROF_BASELINE,
> --
> 2.7.2

Never mind; use Rodger's patch instead.

 - Mark


More information about the ffmpeg-devel mailing list