From f32b1276dfa3b8a171f2d133219107dcf1150b22 Mon Sep 17 00:00:00 2001 From: Sune1337 Date: Sun, 23 Mar 2014 00:39:36 +0100 Subject: [PATCH] Define AV_ERROR_MAX_STRING_SIZE to 64 if it is not already defined. --- src/zm_ffmpeg_camera.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/zm_ffmpeg_camera.cpp b/src/zm_ffmpeg_camera.cpp index 78937cb57..55e8b546c 100644 --- a/src/zm_ffmpeg_camera.cpp +++ b/src/zm_ffmpeg_camera.cpp @@ -19,6 +19,10 @@ #include "zm.h" +#ifndef AV_ERROR_MAX_STRING_SIZE +#define AV_ERROR_MAX_STRING_SIZE 64 +#endif + #if HAVE_LIBAVFORMAT #include "zm_ffmpeg_camera.h"