From c5c1052f4bae9680eb77340b55e1c1e78c15d1f5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:41:27 -0600 Subject: Remove additional unneeded tq method conversions --- flow/gsl/gslloader-wav.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'flow/gsl/gslloader-wav.c') 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; } -- cgit v1.2.1