libavformat/id3v2.h File Reference

#include <stdint.h>

Go to the source code of this file.

Defines

#define ID3v2_HEADER_SIZE   10

Functions

int ff_id3v2_match (const uint8_t *buf)
 Detects ID3v2 Header.
int ff_id3v2_tag_len (const uint8_t *buf)
 Gets the length of an ID3v2 tag.


Define Documentation

#define ID3v2_HEADER_SIZE   10

Definition at line 27 of file id3v2.h.

Referenced by ff_id3v2_tag_len(), flac_read_header(), and mp3_read_header().


Function Documentation

int ff_id3v2_match ( const uint8_t *  buf  ) 

Detects ID3v2 Header.

must be ID3v2_HEADER_SIZE byte long

Definition at line 24 of file id3v2.c.

Referenced by flac_probe(), flac_read_header(), mp3_read_header(), mp3_read_probe(), and mpc_probe().

int ff_id3v2_tag_len ( const uint8_t *  buf  ) 

Gets the length of an ID3v2 tag.

must be ID3v2_HEADER_SIZE bytes long and point to the start of an already detected ID3v2 tag

Definition at line 37 of file id3v2.c.

Referenced by flac_probe(), flac_read_header(), mp3_read_probe(), and mpc_probe().


Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8