summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/wav64.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-11-06 20:06:08 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-11-06 20:06:08 -0500
commit826f99e18701988d7e7cdc3d7019a20e1d697403 (patch)
treee3d9bcdc138426bba1c1bb6d70a6240ea206d0f3 /lib/rbcodec/codecs/wav64.c
parent1015e1f5ca4fb7eec096677985b21b94c2699a22 (diff)
downloadrockbox-826f99e18701988d7e7cdc3d7019a20e1d697403.tar.gz
rockbox-826f99e18701988d7e7cdc3d7019a20e1d697403.zip
libpcm: Get unbranded structure tag out of my way.
No functional changes. Change-Id: If372023cb605389a203a635b700eca20685ad49b
Diffstat (limited to 'lib/rbcodec/codecs/wav64.c')
-rw-r--r--lib/rbcodec/codecs/wav64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/wav64.c b/lib/rbcodec/codecs/wav64.c
index 66bb3e3a11..a74c932e0e 100644
--- a/lib/rbcodec/codecs/wav64.c
+++ b/lib/rbcodec/codecs/wav64.c
@@ -94,7 +94,7 @@ static const struct pcm_codec *get_wave_codec(uint32_t formattag)
94 return 0; 94 return 0;
95} 95}
96 96
97static struct pcm_format format; 97static struct libpcm_pcm_format format;
98static uint32_t bytesdone; 98static uint32_t bytesdone;
99 99
100/* Read an unaligned 64-bit little endian unsigned integer from buffer. */ 100/* Read an unaligned 64-bit little endian unsigned integer from buffer. */
@@ -211,7 +211,7 @@ enum codec_status codec_run(void)
211 ci->advance_buffer(40); 211 ci->advance_buffer(40);
212 212
213 firstblockposn = 40; 213 firstblockposn = 40;
214 ci->memset(&format, 0, sizeof(struct pcm_format)); 214 ci->memset(&format, 0, sizeof(struct libpcm_pcm_format));
215 format.is_signed = true; 215 format.is_signed = true;
216 format.is_little_endian = true; 216 format.is_little_endian = true;
217 217