line |
true |
false |
branch |
70
|
0 |
7 |
if ( !_check_buf(infile, &ogg_buf, 10, OGG_BLOCK_SIZE) ) { |
77
|
0 |
7 |
if ( |
78
|
0 |
0 |
(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 |
85
|
0 |
0 |
if (bptr[5] & 0x10) { |
101
|
0 |
21 |
if ( !_check_buf(infile, &ogg_buf, OGG_HEADER_SIZE, OGG_BLOCK_SIZE) ) { |
111
|
21 |
0 |
if ( ogghdr[0] != 'O' || ogghdr[1] != 'g' || ogghdr[2] != 'g' || ogghdr[3] != 'S' ) { |
|
21 |
0 |
if ( ogghdr[0] != 'O' || ogghdr[1] != 'g' || ogghdr[2] != 'g' || ogghdr[3] != 'S' ) { |
|
21 |
0 |
if ( ogghdr[0] != 'O' || ogghdr[1] != 'g' || ogghdr[2] != 'g' || ogghdr[3] != 'S' ) { |
|
0 |
21 |
if ( ogghdr[0] != 'O' || ogghdr[1] != 'g' || ogghdr[2] != 'g' || ogghdr[3] != 'S' ) { |
129
|
7 |
14 |
if ( header_type & 0x02 ) { |
134
|
21 |
0 |
if ( !(header_type & 0x01) ) { |
139
|
7 |
14 |
if (packets > 2 * streams && !buffer_len(&vorbis_buf) ) { |
|
7 |
0 |
if (packets > 2 * streams && !buffer_len(&vorbis_buf) ) { |
146
|
14 |
0 |
if (page >= 0 && page == pagenum) { |
|
14 |
0 |
if (page >= 0 && page == pagenum) { |
162
|
0 |
14 |
if (num_segments > 1) { |
165
|
0 |
0 |
if ( !_check_buf(infile, &ogg_buf, num_segments, OGG_BLOCK_SIZE) ) { |
170
|
0 |
0 |
for( i = 0; i < num_segments - 1; i++ ) { |
179
|
0 |
14 |
if ( !_check_buf(infile, &ogg_buf, pagelen, OGG_BLOCK_SIZE) ) { |
185
|
0 |
14 |
if ( buffer_len(&ogg_buf) < pagelen ) { |
200
|
14 |
0 |
if ( TOC_byte == 'O' ) { |
201
|
7 |
7 |
if ( strncmp( buffer_ptr(&vorbis_buf), "pusTags", 7 ) == 0) { |
204
|
7 |
0 |
if ( !seeking ) { |
213
|
0 |
7 |
if ( strncmp( buffer_ptr(&vorbis_buf), "pusHead", 7 ) ) { |
222
|
0 |
7 |
if ( buffer_len(&vorbis_buf) < 11 ) { |
270
|
3 |
68 |
if ( seek_position < audio_offset ) { |
279
|
0 |
71 |
if ( buf_size == 0 ) { |
280
|
0 |
0 |
if ( PerlIO_error(infile) ) { |
295
|
594428 |
71 |
while (buf_size >= OGG_HEADER_SIZE) { |
296
|
2028 |
592400 |
if (bptr[0] == 'O' && bptr[1] == 'g' && bptr[2] == 'g' && bptr[3] == 'S') { |
|
72 |
1956 |
if (bptr[0] == 'O' && bptr[1] == 'g' && bptr[2] == 'g' && bptr[3] == 'S') { |
|
72 |
0 |
if (bptr[0] == 'O' && bptr[1] == 'g' && bptr[2] == 'g' && bptr[3] == 'S') { |
|
72 |
0 |
if (bptr[0] == 'O' && bptr[1] == 'g' && bptr[2] == 'g' && bptr[3] == 'S') { |
319
|
71 |
0 |
if ( granule_pos && samplerate && serialno == final_serialno ) { |
|
71 |
0 |
if ( granule_pos && samplerate && serialno == final_serialno ) { |
|
6 |
65 |
if ( granule_pos && samplerate && serialno == final_serialno ) { |
328
|
1 |
64 |
if ( seek_position == audio_offset ) { |
341
|
0 |
7 |
if (err) return err; |
357
|
0 |
0 |
if ( _opus_parse(infile, file, info, tags, 1) != 0 ) { |
361
|
0 |
0 |
song_length_ms = SvIV( *(my_hv_fetch( info, "song_length_ms" )) ); |
362
|
0 |
0 |
if (offset >= song_length_ms) { |
366
|
0 |
0 |
samplerate = SvIV( *(my_hv_fetch( info, "samplerate" )) ); |