Mercurial > hg > xmms-sid
changeset 969:b9e6f929a617
Fix a silly, but meaningless bug in reading PSIDv2/3 extra header (the value
is not actually used for anything here.)
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 21 Nov 2012 00:15:43 +0200 |
parents | 5e0a05c84694 |
children | d90bca05521e |
files | src/xs_length.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xs_length.c Wed Nov 21 00:14:52 2012 +0200 +++ b/src/xs_length.c Wed Nov 21 00:15:43 2012 +0200 @@ -424,7 +424,7 @@ /* Yes, we need to */ if (!xs_fread_be16(inFile, &psidH2.flags) || !xs_fread_byte(inFile, &psidH2.startPage) || - !xs_fread_byte(inFile, &psidH2.startPage) || + !xs_fread_byte(inFile, &psidH2.pageLength) || !xs_fread_be16(inFile, &psidH2.reserved)) { xs_error("Error reading PSID/RSID v2+ extra header data from '%s'\n",