Move *_offsetof() macro definitions to db.h

This commit is contained in:
Julien BLACHE
2009-06-11 23:17:17 +02:00
parent 1f92052409
commit e1c0b6d4b7
5 changed files with 11 additions and 27 deletions

View File

@@ -30,9 +30,6 @@
#include <stdint.h>
#endif
#include <stddef.h>
#include <stdarg.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
@@ -58,8 +55,6 @@ struct metadata_map {
size_t offset;
};
#define mfi_offsetof(field) offsetof(struct media_file_info, field)
/* Lookup is case-insensitive, first occurrence takes precedence */
static struct metadata_map md_map[] =
{