From 90d0614d262fda94007cb73d63cbde60997096fa Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Fri, 15 Jan 2016 09:52:40 +0100 Subject: [PATCH] puzzling fix for `undefined symbol: avcodec_alloc_frame in Unknown on line 0` --- php_ffmpeg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_ffmpeg.h b/php_ffmpeg.h index a52b417..0dc03ca 100644 --- a/php_ffmpeg.h +++ b/php_ffmpeg.h @@ -61,7 +61,7 @@ /* * fix for `undefined symbol: avcodec_alloc_frame in Unknown on line 0` */ -#define av_frame_alloc avcodec_alloc_frame +#define avcodec_alloc_frame av_frame_alloc #define SAFE_STRING(s) ((s)?(s):"")