Browse code

Move flv format #defines to common header so they can be used by the encoder too.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2011/04/01 20:45:39
Showing 2 changed files
... ...
@@ -42,6 +42,11 @@
42 42
 
43 43
 #define AMF_END_OF_OBJECT         0x09
44 44
 
45
+#define KEYFRAMES_TAG            "keyframes"
46
+#define KEYFRAMES_TIMESTAMP_TAG  "times"
47
+#define KEYFRAMES_BYTEOFFSET_TAG "filepositions"
48
+
49
+
45 50
 enum {
46 51
     FLV_HEADER_FLAG_HASVIDEO = 1,
47 52
     FLV_HEADER_FLAG_HASAUDIO = 4,
... ...
@@ -31,10 +31,6 @@
31 31
 #include "avio_internal.h"
32 32
 #include "flv.h"
33 33
 
34
-#define KEYFRAMES_TAG            "keyframes"
35
-#define KEYFRAMES_TIMESTAMP_TAG  "times"
36
-#define KEYFRAMES_BYTEOFFSET_TAG "filepositions"
37
-
38 34
 typedef struct {
39 35
     int wrong_dts; ///< wrong dts due to negative cts
40 36
 } FLVContext;