line |
true |
false |
branch |
34
|
0 |
3 |
if ( !_check_buf(infile, &buf, 80, DSF_BLOCK_SIZE) ) { |
39
|
3 |
0 |
if ( !strncmp( (char *)buffer_ptr(&buf), "DSD ", 4 ) ) { |
48
|
3 |
0 |
if ((chunk_size != 28) || |
|
0 |
3 |
if ((chunk_size != 28) || |
55
|
0 |
3 |
if ( strncmp( (char *)buffer_ptr(&buf), "fmt ", 4 ) ) { |
72
|
3 |
0 |
if ( (chunk_size != 52) || |
|
3 |
0 |
if ( (chunk_size != 52) || |
73
|
3 |
0 |
(format_version != 1) || |
74
|
3 |
0 |
(format_id != 0) || |
75
|
0 |
3 |
(block_size_per_channel != 4096) || |
84
|
0 |
3 |
if ( strncmp( (char *)buffer_ptr(&buf), "data", 4 ) ) { |
105
|
3 |
0 |
if (metadata_offset) { |
108
|
0 |
3 |
if ( !_check_buf(infile, &buf, 10, DSF_BLOCK_SIZE) ) { |
113
|
3 |
0 |
if ( |
114
|
3 |
0 |
(bptr[0] == 'I' && bptr[1] == 'D' && bptr[2] == '3') && |
|
3 |
0 |
(bptr[0] == 'I' && bptr[1] == 'D' && bptr[2] == '3') && |
|
3 |
0 |
(bptr[0] == 'I' && bptr[1] == 'D' && bptr[2] == '3') && |
115
|
3 |
0 |
bptr[3] < 0xff && bptr[4] < 0xff && |
|
3 |
0 |
bptr[3] < 0xff && bptr[4] < 0xff && |
116
|
3 |
0 |
bptr[6] < 0x80 && bptr[7] < 0x80 && bptr[8] < 0x80 && bptr[9] < 0x80 |
|
3 |
0 |
bptr[6] < 0x80 && bptr[7] < 0x80 && bptr[8] < 0x80 && bptr[9] < 0x80 |
|
3 |
0 |
bptr[6] < 0x80 && bptr[7] < 0x80 && bptr[8] < 0x80 && bptr[9] < 0x80 |
131
|
0 |
3 |
if (err) return err; |