diff options
author | John Adlum <john.adlum@nospam> | 2015-07-02 00:15:13 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-07-02 04:58:27 +0200 |
commit | 72cad800164c169bc0fdc48a24b4503035e81ed2 (patch) | |
tree | 1c2427a52e6059bc15e954d45f04dcdbf54f8385 /libavformat/asf.h | |
parent | 59fffefdb4dd4bbec419c58e173202fd0975e527 (diff) | |
download | ffmpeg-72cad800164c169bc0fdc48a24b4503035e81ed2.tar.gz |
avformat/asfdec_f: Add ASFDataType, use named types for metadata
This is based on asfdec_o.c, but uses a proper type instead of defines
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/asf.h')
-rw-r--r-- | libavformat/asf.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/asf.h b/libavformat/asf.h index 0789b17d43..f98fc46edc 100644 --- a/libavformat/asf.h +++ b/libavformat/asf.h @@ -28,6 +28,16 @@ #define PACKET_SIZE 3200 +typedef enum ASFDataType { + ASF_UNICODE = 0, + ASF_BYTE_ARRAY = 1, + ASF_BOOL = 2, + ASF_DWORD = 3, + ASF_QWORD = 4, + ASF_WORD = 5, + ASF_GUID = 6, +}ASFDataType; + typedef struct ASFMainHeader { ff_asf_guid guid; ///< generated by client computer uint64_t file_size; /**< in bytes |