hedgewars/avwrapper.c
changeset 7356 1ae5cf294216
parent 7306 3cff5c769509
child 7359 8bb4da06b065
equal deleted inserted replaced
7353:0e55228e1303 7356:1ae5cf294216
     3 #include <stdio.h>
     3 #include <stdio.h>
     4 #include <stdint.h>
     4 #include <stdint.h>
     5 #include <string.h>
     5 #include <string.h>
     6 #include <stdarg.h>
     6 #include <stdarg.h>
     7 #include "libavformat/avformat.h"
     7 #include "libavformat/avformat.h"
       
     8 
       
     9 #ifndef AVIO_FLAG_WRITE
       
    10 #define AVIO_FLAG_WRITE AVIO_WRONLY
       
    11 #endif
     8 
    12 
     9 static AVFormatContext* g_pContainer;
    13 static AVFormatContext* g_pContainer;
    10 static AVOutputFormat* g_pFormat;
    14 static AVOutputFormat* g_pFormat;
    11 static AVStream* g_pAStream;
    15 static AVStream* g_pAStream;
    12 static AVStream* g_pVStream;
    16 static AVStream* g_pVStream;