summaryrefslogtreecommitdiff
path: root/apps/plugins/wav2wv.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-07 18:38:47 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-07 18:38:47 +0000
commit4d5e88245a3aa6ff80df63c5a145b2b41495cbb2 (patch)
tree787e6cc5223ae0df55ecde940debc173cde2d12c /apps/plugins/wav2wv.c
parentbd0b7363ca28d3202338bb5f434b89f8d08a5e2b (diff)
downloadrockbox-4d5e88245a3aa6ff80df63c5a145b2b41495cbb2.zip
rockbox-4d5e88245a3aa6ff80df63c5a145b2b41495cbb2.tar.gz
rockbox-4d5e88245a3aa6ff80df63c5a145b2b41495cbb2.tar.bz2
rockbox-4d5e88245a3aa6ff80df63c5a145b2b41495cbb2.tar.xz
Remove more tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24550 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wav2wv.c')
-rw-r--r--apps/plugins/wav2wv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/wav2wv.c b/apps/plugins/wav2wv.c
index a3bd0a9..1102d13 100644
--- a/apps/plugins/wav2wv.c
+++ b/apps/plugins/wav2wv.c
@@ -138,9 +138,9 @@ static int wav2wv(const char *infile)
rb->memcpy (&native_header, &raw_header, sizeof (raw_header));
little_endian_to_native (&native_header, WAV_HEADER_FORMAT);
- if (rb->strncmp (native_header.ckID, "RIFF", 4) ||
- rb->strncmp (native_header.fmt_ckID, "fmt ", 4) ||
- rb->strncmp (native_header.data_ckID, "data", 4) ||
+ if (rb->strncmp (native_header.ckID, "RIFF", 4) ||
+ rb->strncmp (native_header.fmt_ckID, "fmt ", 4) ||
+ rb->strncmp (native_header.data_ckID, "data", 4) ||
native_header.FormatTag != 1 || native_header.BitsPerSample != 16) {
rb->splash(HZ*2, "incompatible wav file!");
return true;
@@ -153,7 +153,7 @@ static int wav2wv(const char *infile)
config.bytes_per_sample = 2;
config.sample_rate = native_header.SampleRate;
num_chans = config.num_channels = native_header.NumChannels;
- total_samples = native_header.data_ckSize / native_header.BlockAlign;
+ total_samples = native_header.data_ckSize / native_header.BlockAlign;
/* config.flags |= CONFIG_HIGH_FLAG; */