libmpcdec: src/idtag.c File Reference

Main Page | Class List | Directories | File List | Class Members | File Members | Related Pages

# idtag.c File Reference

`#include <mpcdec/mpcdec.h>`
`#include <mpcdec/internal.h>`

Go to the source code of this file.

## Functions

mpc_int32_t | JumpID3v2 (mpc_reader *r)

## Detailed Description

Rudimentary id3tag handling routines, just enough to skip id3v2 tags, if present.

Definition in file idtag.c.

## Function Documentation

mpc_int32_t JumpID3v2 | ( | mpc_reader * | fp | ) |

Searches for a ID3v2-tag and reads the length (in bytes) of it.

Parameters:

  | reader | supplying raw stream data

Returns:
  size of tag, in bytes

  -1 on errors of any kind

Definition at line 43 of file idtag.c.

References mpc_reader_t::data, mpc_reader_t::read, and mpc_reader_t::seek.

Referenced by mpc_streaminfo_read().