Previous | 199869 Revisions | Next |
r22563 Friday 26th April, 2013 at 18:07:22 UTC by Wilbert Pol |
---|
(MESS) csw_cas.c: Fixed CSW header detection regression. [Wilbert Pol] |
[src/lib/formats] | csw_cas.c |
r22562 | r22563 | |
---|---|---|
57 | 57 | UINT8 *in_ptr; |
58 | 58 | int bsize=0; |
59 | 59 | |
60 | if ( memcmp( casdata, CSW_HEADER, sizeof(CSW_HEADER) ) ) | |
60 | if ( memcmp( casdata, CSW_HEADER, sizeof(CSW_HEADER)-1 ) ) | |
61 | 61 | { |
62 | 62 | LOG_FORMATS( "csw_cas_to_wav_size: cassette image has incompatible header\n" ); |
63 | 63 | goto cleanup; |
Previous | 199869 Revisions | Next |