src/mat4.c : Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.

This commit is contained in:
Erik de Castro Lopo 2007-04-07 09:53:19 +10:00
parent bd82c4933f
commit 744f93c17d
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,15 @@
2007-04-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/flac.c
Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
opening file for RDWR.
* src/sndfile.c
Improve error message for SFE_BAD_RDWR_FORMAT.
* src/mat4.c
Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
2007-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* doc/FAQ.html

View File

@ -206,7 +206,8 @@ mat4_write_header (SF_PRIVATE *psf, int calc_length)
static int
mat4_read_header (SF_PRIVATE *psf)
{ int marker, namesize, rows, cols, imag ;
{ int marker, rows, cols, imag ;
unsigned namesize ;
double value ;
const char *marker_str ;
char name [64] ;