# HG changeset patch # User Stepan777 # Date 1341663702 -14400 # Node ID 1ae5cf294216dd2a929881ca9739ab15b0312cd3 # Parent 0e55228e130397ab93dd4d75516f496f13dbf466 fix for older ffmpeg (0.7.13) diff -r 0e55228e1303 -r 1ae5cf294216 hedgewars/avwrapper.c --- a/hedgewars/avwrapper.c Fri Jul 06 19:15:44 2012 +0400 +++ b/hedgewars/avwrapper.c Sat Jul 07 16:21:42 2012 +0400 @@ -6,6 +6,10 @@ #include #include "libavformat/avformat.h" +#ifndef AVIO_FLAG_WRITE +#define AVIO_FLAG_WRITE AVIO_WRONLY +#endif + static AVFormatContext* g_pContainer; static AVOutputFormat* g_pFormat; static AVStream* g_pAStream;