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;