aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asf.h
diff options
context:
space:
mode:
authorJohn Adlum <john.adlum@nospam>2015-07-02 00:15:13 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-07-02 04:58:27 +0200
commit72cad800164c169bc0fdc48a24b4503035e81ed2 (patch)
tree1c2427a52e6059bc15e954d45f04dcdbf54f8385 /libavformat/asf.h
parent59fffefdb4dd4bbec419c58e173202fd0975e527 (diff)
downloadffmpeg-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.h10
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