diff options
Diffstat (limited to 'apps/metadata/asf.c')
-rw-r--r-- | apps/metadata/asf.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/apps/metadata/asf.c b/apps/metadata/asf.c index 9362485eb7..fac4092256 100644 --- a/apps/metadata/asf.c +++ b/apps/metadata/asf.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include "metadata_common.h" | 32 | #include "metadata_common.h" |
33 | #include "metadata_parsers.h" | 33 | #include "metadata_parsers.h" |
34 | #include "system.h" | 34 | #include "system.h" |
35 | #include <codecs/libwma/asf.h> | 35 | #include <codecs/libasf/asf.h> |
36 | 36 | ||
37 | /* TODO: Just read the GUIDs into a 16-byte array, and use memcmp to compare */ | 37 | /* TODO: Just read the GUIDs into a 16-byte array, and use memcmp to compare */ |
38 | struct guid_s { | 38 | struct guid_s { |
@@ -50,20 +50,6 @@ struct asf_object_s { | |||
50 | }; | 50 | }; |
51 | typedef struct asf_object_s asf_object_t; | 51 | typedef struct asf_object_s asf_object_t; |
52 | 52 | ||
53 | enum asf_error_e { | ||
54 | ASF_ERROR_INTERNAL = -1, /* incorrect input to API calls */ | ||
55 | ASF_ERROR_OUTOFMEM = -2, /* some malloc inside program failed */ | ||
56 | ASF_ERROR_EOF = -3, /* unexpected end of file */ | ||
57 | ASF_ERROR_IO = -4, /* error reading or writing to file */ | ||
58 | ASF_ERROR_INVALID_LENGTH = -5, /* length value conflict in input data */ | ||
59 | ASF_ERROR_INVALID_VALUE = -6, /* other value conflict in input data */ | ||
60 | ASF_ERROR_INVALID_OBJECT = -7, /* ASF object missing or in wrong place */ | ||
61 | ASF_ERROR_OBJECT_SIZE = -8, /* invalid ASF object size (too small) */ | ||
62 | ASF_ERROR_SEEKABLE = -9, /* file not seekable */ | ||
63 | ASF_ERROR_SEEK = -10, /* file is seekable but seeking failed */ | ||
64 | ASF_ERROR_ENCRYPTED = -11 /* file is encrypted */ | ||
65 | }; | ||
66 | |||
67 | static const guid_t asf_guid_null = | 53 | static const guid_t asf_guid_null = |
68 | {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}; | 54 | {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}; |
69 | 55 | ||