aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/gxf.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-07-26 13:01:09 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-07-26 13:01:09 +0000
commitb1dc5beb1278bd35316fe52a0fd38921a14bacb0 (patch)
treedfd128b2e8245293ba5e22bbc25351760aa09041 /libavformat/gxf.c
parent4d8243d362c3b48ad0a7a562ce52a2b744a2b2c5 (diff)
downloadffmpeg-b1dc5beb1278bd35316fe52a0fd38921a14bacb0.tar.gz
replaces hardcoded values by the equivalent enum definitions
Originally committed as revision 9801 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r--libavformat/gxf.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c
index 0217ba51fa..c9e53b4bfd 100644
--- a/libavformat/gxf.c
+++ b/libavformat/gxf.c
@@ -20,33 +20,7 @@
*/
#include "avformat.h"
#include "common.h"
-
-typedef enum {
- PKT_MAP = 0xbc,
- PKT_MEDIA = 0xbf,
- PKT_EOS = 0xfb,
- PKT_FLT = 0xfc,
- PKT_UMF = 0xfd
-} pkt_type_t;
-
-typedef enum {
- MAT_NAME = 0x40,
- MAT_FIRST_FIELD = 0x41,
- MAT_LAST_FIELD = 0x42,
- MAT_MARK_IN = 0x43,
- MAT_MARK_OUT = 0x44,
- MAT_SIZE = 0x45
-} mat_tag_t;
-
-typedef enum {
- TRACK_NAME = 0x4c,
- TRACK_AUX = 0x4d,
- TRACK_VER = 0x4e,
- TRACK_MPG_AUX = 0x4f,
- TRACK_FPS = 0x50,
- TRACK_LINES = 0x51,
- TRACK_FPF = 0x52
-} track_tag_t;
+#include "gxf.h"
typedef struct {
int64_t first_field;