fix for older ffmpeg (0.7.13)
authorStepan777 <stepik-777@mail.ru>
Sat, 07 Jul 2012 16:21:42 +0400
changeset 7356 1ae5cf294216
parent 7353 0e55228e1303
child 7359 8bb4da06b065
fix for older ffmpeg (0.7.13)
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 <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;