From 910f8bcce017cec42b7ebc6d7cf757ca3fa5442a Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 23 Nov 2010 14:49:09 +0100 Subject: [PATCH] Fix typos, better wording Signed-off-by: Antonio Ospite --- wav_header.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wav_header.c b/wav_header.c index cdd64a2..1aac2e9 100644 --- a/wav_header.c +++ b/wav_header.c @@ -18,7 +18,7 @@ #include /* This is the logical arrangement of the struct but we are splitting it - * because it is more easy to handle the variable length extradata + * because it is easier to handle the variable length extradata that way. * * strongly inspired by http://www.mpg123.de/mpg123/mpg123/wav.c */ @@ -36,7 +36,7 @@ struct _RIFF { uint32_t nAvgBytesPerSec; uint16_t nBlockAlign; uint16_t wBitsPerSample; - uint16_t cbSize; /* cbSize = sizeof(extardata) */ + uint16_t cbSize; /* cbSize = sizeof(extradata) */ uint8_t extradata[]; } fmt; struct _data @@ -76,7 +76,7 @@ struct data { }; struct extradata { - uint16_t len; /* same size as fmt.cbSize */ + uint16_t len; /* same storage size as fmt.cbSize */ uint8_t data[]; }; -- 2.1.4