diff options
author | Mohamed Tarek <mt@rockbox.org> | 2010-05-02 18:27:01 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2010-05-02 18:27:01 +0000 |
commit | 7aaae54afcda1f4ea5224d3d9d0ac3ffd69defaf (patch) | |
tree | 8aa54989bf4104440070e926a4a70706a0202793 /apps/metadata | |
parent | 2ab15d959cc56bf6037616a359fd0ec7a9ecef60 (diff) | |
download | rockbox-7aaae54afcda1f4ea5224d3d9d0ac3ffd69defaf.tar.gz rockbox-7aaae54afcda1f4ea5224d3d9d0ac3ffd69defaf.zip |
- Modify metadata/asf.c to use libasf.
- Modify the files in libwma to use libasf.
- Remove apps/codecs/libwma/asf.h since it's not used now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25783 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata')
-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 | ||