MPD 0.17~git
Functions
src/riff.h File Reference

A parser for the RIFF file format (e.g. More...

#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>

Go to the source code of this file.

Functions

size_t riff_seek_id3 (FILE *file)
 Seeks the RIFF file to the ID3 chunk.

Detailed Description

A parser for the RIFF file format (e.g.

WAV).

Definition in file riff.h.


Function Documentation

size_t riff_seek_id3 ( FILE *  file)

Seeks the RIFF file to the ID3 chunk.

Returns:
the size of the ID3 chunk on success, or 0 if this is not a RIFF file or no ID3 chunk was found