libavformat/id3v2.c File Reference

#include "id3v2.h"

Go to the source code of this file.

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.


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