mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 12:06:12 -05:00
Move *_offsetof() macro definitions to db.h
This commit is contained in:
@@ -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[] =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user