hedgewars/avwrapper.c
changeset 7356 1ae5cf294216
parent 7306 3cff5c769509
child 7359 8bb4da06b065
--- 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 <stdarg.h>
 #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;