From 7aaae54afcda1f4ea5224d3d9d0ac3ffd69defaf Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Sun, 2 May 2010 18:27:01 +0000 Subject: - 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 --- apps/metadata/asf.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'apps/metadata/asf.c') 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 @@ #include "metadata_common.h" #include "metadata_parsers.h" #include "system.h" -#include +#include /* TODO: Just read the GUIDs into a 16-byte array, and use memcmp to compare */ struct guid_s { @@ -50,20 +50,6 @@ struct asf_object_s { }; typedef struct asf_object_s asf_object_t; -enum asf_error_e { - ASF_ERROR_INTERNAL = -1, /* incorrect input to API calls */ - ASF_ERROR_OUTOFMEM = -2, /* some malloc inside program failed */ - ASF_ERROR_EOF = -3, /* unexpected end of file */ - ASF_ERROR_IO = -4, /* error reading or writing to file */ - ASF_ERROR_INVALID_LENGTH = -5, /* length value conflict in input data */ - ASF_ERROR_INVALID_VALUE = -6, /* other value conflict in input data */ - ASF_ERROR_INVALID_OBJECT = -7, /* ASF object missing or in wrong place */ - ASF_ERROR_OBJECT_SIZE = -8, /* invalid ASF object size (too small) */ - ASF_ERROR_SEEKABLE = -9, /* file not seekable */ - ASF_ERROR_SEEK = -10, /* file is seekable but seeking failed */ - ASF_ERROR_ENCRYPTED = -11 /* file is encrypted */ -}; - static const guid_t asf_guid_null = {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}; -- cgit v1.2.3