summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libpcm/swf_adpcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libpcm/swf_adpcm.c')
-rw-r--r--lib/rbcodec/codecs/libpcm/swf_adpcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libpcm/swf_adpcm.c b/lib/rbcodec/codecs/libpcm/swf_adpcm.c
index c440fd1303..7eb74fdd19 100644
--- a/lib/rbcodec/codecs/libpcm/swf_adpcm.c
+++ b/lib/rbcodec/codecs/libpcm/swf_adpcm.c
@@ -45,11 +45,11 @@ static int blockbits = 0;
45static int lastbytebits = 0; 45static int lastbytebits = 0;
46static bool after_seek = false; 46static bool after_seek = false;
47 47
48static struct pcm_format *fmt; 48static struct libpcm_pcm_format *fmt;
49 49
50#define GET_SAMPLE_COUNT(s) ((((s) << 3) / fmt->channels - 22) / fmt->bitspersample + 1) 50#define GET_SAMPLE_COUNT(s) ((((s) << 3) / fmt->channels - 22) / fmt->bitspersample + 1)
51 51
52static bool set_format(struct pcm_format *format) 52static bool set_format(struct libpcm_pcm_format *format)
53{ 53{
54 fmt = format; 54 fmt = format;
55 55