| line |
true |
false |
branch |
|
70
|
0 |
32 |
if ( !_check_buf(infile, &ogg_buf, 10, OGG_BLOCK_SIZE) ) { |
|
78
|
0 |
32 |
(bptr[0] == 'I' && bptr[1] == 'D' && bptr[2] == '3') && |
|
|
0 |
0 |
(bptr[0] == 'I' && bptr[1] == 'D' && bptr[2] == '3') && |
|
|
0 |
0 |
(bptr[0] == 'I' && bptr[1] == 'D' && bptr[2] == '3') && |
|
79
|
0 |
0 |
bptr[3] < 0xff && bptr[4] < 0xff && |
|
|
0 |
0 |
bptr[3] < 0xff && bptr[4] < 0xff && |
|
80
|
0 |
0 |
bptr[6] < 0x80 && bptr[7] < 0x80 && bptr[8] < 0x80 && bptr[9] < 0x80 |
|
|
0 |
0 |
bptr[6] < 0x80 && bptr[7] < 0x80 && bptr[8] < 0x80 && bptr[9] < 0x80 |
|
|
0 |
0 |
bptr[6] < 0x80 && bptr[7] < 0x80 && bptr[8] < 0x80 && bptr[9] < 0x80 |
|
|
0 |
0 |
bptr[6] < 0x80 && bptr[7] < 0x80 && bptr[8] < 0x80 && bptr[9] < 0x80 |
|
85
|
0 |
0 |
if (bptr[5] & 0x10) { |
|
101
|
0 |
99 |
if ( !_check_buf(infile, &ogg_buf, OGG_HEADER_SIZE, OGG_BLOCK_SIZE) ) { |
|
111
|
99 |
0 |
if ( ogghdr[0] != 'O' || ogghdr[1] != 'g' || ogghdr[2] != 'g' || ogghdr[3] != 'S' ) { |
|
|
99 |
0 |
if ( ogghdr[0] != 'O' || ogghdr[1] != 'g' || ogghdr[2] != 'g' || ogghdr[3] != 'S' ) { |
|
|
99 |
0 |
if ( ogghdr[0] != 'O' || ogghdr[1] != 'g' || ogghdr[2] != 'g' || ogghdr[3] != 'S' ) { |
|
|
0 |
99 |
if ( ogghdr[0] != 'O' || ogghdr[1] != 'g' || ogghdr[2] != 'g' || ogghdr[3] != 'S' ) { |
|
129
|
32 |
67 |
if ( header_type & 0x02 ) { |
|
134
|
96 |
3 |
if ( !(header_type & 0x01) ) { |
|
139
|
32 |
67 |
if (packets > 2 * streams && !buffer_len(&vorbis_buf) ) { |
|
|
32 |
0 |
if (packets > 2 * streams && !buffer_len(&vorbis_buf) ) { |
|
146
|
67 |
0 |
if (page >= 0 && page == pagenum) { |
|
|
67 |
0 |
if (page >= 0 && page == pagenum) { |
|
162
|
28 |
39 |
if (num_segments > 1) { |
|
165
|
0 |
28 |
if ( !_check_buf(infile, &ogg_buf, num_segments, OGG_BLOCK_SIZE) ) { |
|
170
|
843 |
28 |
for( i = 0; i < num_segments - 1; i++ ) { |
|
179
|
0 |
67 |
if ( !_check_buf(infile, &ogg_buf, pagelen, OGG_BLOCK_SIZE) ) { |
|
185
|
0 |
67 |
if ( buffer_len(&ogg_buf) < pagelen ) { |
|
198
|
3 |
64 |
if ( granule_pos != 0 ) { |
|
210
|
64 |
0 |
if ( TOC_byte == 'O' ) { |
|
211
|
32 |
32 |
if ( strncmp( buffer_ptr(&vorbis_buf), "pusTags", 7 ) == 0) { |
|
214
|
8 |
24 |
if ( !seeking ) { |
|
223
|
0 |
32 |
if ( strncmp( buffer_ptr(&vorbis_buf), "pusHead", 7 ) ) { |
|
232
|
0 |
32 |
if ( buffer_len(&vorbis_buf) < 11 ) { |
|
280
|
3 |
31 |
if ( seek_position < audio_offset ) { |
|
290
|
0 |
34 |
if ( !_check_buf(infile, &ogg_buf, OGG_HEADER_SIZE, BUF_SIZE) ) { |
|
300
|
273361 |
34 |
while (buf_size >= OGG_HEADER_SIZE) { |
|
301
|
1140 |
272221 |
if (bptr[0] == 'O' && bptr[1] == 'g' && bptr[2] == 'g' && bptr[3] == 'S') { |
|
|
98 |
1042 |
if (bptr[0] == 'O' && bptr[1] == 'g' && bptr[2] == 'g' && bptr[3] == 'S') { |
|
|
98 |
0 |
if (bptr[0] == 'O' && bptr[1] == 'g' && bptr[2] == 'g' && bptr[3] == 'S') { |
|
|
98 |
0 |
if (bptr[0] == 'O' && bptr[1] == 'g' && bptr[2] == 'g' && bptr[3] == 'S') { |
|
324
|
34 |
0 |
if ( granule_pos && samplerate && serialno == final_serialno ) { |
|
|
34 |
0 |
if ( granule_pos && samplerate && serialno == final_serialno ) { |
|
|
32 |
2 |
if ( granule_pos && samplerate && serialno == final_serialno ) { |
|
333
|
0 |
2 |
if ( seek_position == audio_offset ) { |
|
347
|
0 |
32 |
if (err) return err; |
|
363
|
0 |
24 |
if (offset < 0) { |
|
368
|
0 |
24 |
if ( _opus_parse(infile, file, info, tags, 1) != 0 ) { |
|
373
|
1 |
23 |
if (offset >= song_length_ms) { |