fixed off-by-one bug
[swftools.git] / lib / mp3.h
bloba49c9ad209f41d7cbfe67d9fec5e57cd2d2f3463
1 /* mp3.h
2 Header file for mp3.c
4 Part of the swftools package.
6 Copyright (c) 2005 Joel Yliluoma <bisqwit@iki.fi>
8 This file is distributed under the GPL, see file COPYING for details */
10 struct MP3 {
11 unsigned short SampRate;
12 unsigned char Channels;
13 unsigned int NumFrames;
14 unsigned char* data;
15 unsigned long size;
18 int mp3_read(struct MP3*mp3, const char* filename);
19 void mp3_clear(struct MP3*mp3);