apetag.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "apetag.h"
#include "internal.h"
Include dependency graph for apetag.c:

Go to the source code of this file.

Macros

#define APE_TAG_FLAG_CONTAINS_HEADER   (1 << 31)
 
#define APE_TAG_FLAG_IS_HEADER   (1 << 29)
 
#define APE_TAG_FLAG_IS_BINARY   (1 << 1)
 

Functions

static int ape_tag_read_field (AVFormatContext *s)
 
int64_t ff_ape_parse_tag (AVFormatContext *s)
 Read and parse an APE tag. More...
 

Macro Definition Documentation

#define APE_TAG_FLAG_CONTAINS_HEADER   (1 << 31)

Definition at line 29 of file apetag.c.

#define APE_TAG_FLAG_IS_BINARY   (1 << 1)

Definition at line 31 of file apetag.c.

Referenced by ape_tag_read_field().

#define APE_TAG_FLAG_IS_HEADER   (1 << 29)

Definition at line 30 of file apetag.c.

Referenced by ff_ape_parse_tag().

Function Documentation

static int ape_tag_read_field ( AVFormatContext s)
static

Definition at line 33 of file apetag.c.

Referenced by ff_ape_parse_tag().

int64_t ff_ape_parse_tag ( AVFormatContext s)

Read and parse an APE tag.

Returns
offset of the tag start in the file

Definition at line 114 of file apetag.c.

Referenced by ape_read_header(), mpc8_read_header(), mpc_read_header(), tak_read_header(), and wv_read_header().