equal
deleted
inserted
replaced
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; |