summaryrefslogtreecommitdiffstats
path: root/flow/gsl/gslloader-wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'flow/gsl/gslloader-wav.c')
-rw-r--r--flow/gsl/gslloader-wav.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/flow/gsl/gslloader-wav.c b/flow/gsl/gslloader-wav.c
index 85e4cc3..6cb8831 100644
--- a/flow/gsl/gslloader-wav.c
+++ b/flow/gsl/gslloader-wav.c
@@ -201,7 +201,7 @@ typedef struct
static GslErrorType
wav_read_data_header (gint fd,
DataHeader *header,
- guint byte_tqalignment)
+ guint byte_alignment)
{
guint n_bytes;
@@ -241,12 +241,12 @@ wav_read_data_header (gint fd,
WAV_DEBUG ("failed to seek while skipping sub-chunk");
return GSL_ERROR_IO;
}
- return wav_read_data_header (fd, header, byte_tqalignment);
+ return wav_read_data_header (fd, header, byte_alignment);
}
- if (header->data_length < 1 || header->data_length % byte_tqalignment != 0)
+ if (header->data_length < 1 || header->data_length % byte_alignment != 0)
{
- WAV_DEBUG ("invalid data length (%u) or tqalignment (%u)",
- header->data_length, header->data_length % byte_tqalignment);
+ WAV_DEBUG ("invalid data length (%u) or alignment (%u)",
+ header->data_length, header->data_length % byte_alignment);
return GSL_ERROR_FORMAT_INVALID;
}