RCHECK 97 media/base/container_names.cc RCHECK(buffer_size > 6); RCHECK 104 media/base/container_names.cc RCHECK(ReadBits(&reader, 12) == 0xfff); RCHECK 110 media/base/container_names.cc RCHECK(ReadBits(&reader, 2) == 0); RCHECK 116 media/base/container_names.cc RCHECK(ReadBits(&reader, 4) != 15); // Forbidden. RCHECK 124 media/base/container_names.cc RCHECK(size > 0); RCHECK 139 media/base/container_names.cc RCHECK(buffer_size > 6); RCHECK 146 media/base/container_names.cc RCHECK(ReadBits(&reader, 16) == kAc3SyncWord); RCHECK 153 media/base/container_names.cc RCHECK(sample_rate_code != 3); // Reserved. RCHECK 157 media/base/container_names.cc RCHECK(frame_size_code < 38); // Undefined. RCHECK 160 media/base/container_names.cc RCHECK(ReadBits(&reader, 5) < 10); // Normally 8 or 6, 16 used by EAC3. RCHECK 174 media/base/container_names.cc RCHECK(buffer_size > 6); RCHECK 181 media/base/container_names.cc RCHECK(ReadBits(&reader, 16) == kAc3SyncWord); RCHECK 184 media/base/container_names.cc RCHECK(ReadBits(&reader, 2) != 3); RCHECK 191 media/base/container_names.cc RCHECK(frame_size >= 7); RCHECK 198 media/base/container_names.cc RCHECK(bit_stream_id >= 11 && bit_stream_id <= 16); RCHECK 208 media/base/container_names.cc RCHECK(buffer_size >= 44); RCHECK 211 media/base/container_names.cc RCHECK(Read32LE(buffer + 8) > 0); RCHECK 215 media/base/container_names.cc RCHECK(width > 0 && width <= 32767); RCHECK 219 media/base/container_names.cc RCHECK(height > 0 && height <= 32767); RCHECK 222 media/base/container_names.cc RCHECK(Read32LE(buffer + 28) > 0); RCHECK 225 media/base/container_names.cc RCHECK(Read32LE(buffer + 32) > 0); RCHECK 235 media/base/container_names.cc RCHECK(buffer_size >= 52); RCHECK 239 media/base/container_names.cc RCHECK(ReadBits(&reader, 32) == TAG('c', 'a', 'f', 'f')); RCHECK 242 media/base/container_names.cc RCHECK(ReadBits(&reader, 16) == 1); RCHECK 248 media/base/container_names.cc RCHECK(ReadBits(&reader, 32) == TAG('d', 'e', 's', 'c')); RCHECK 249 media/base/container_names.cc RCHECK(ReadBits(&reader, 64) == 32); RCHECK 252 media/base/container_names.cc RCHECK(ReadBits(&reader, 64) != 0); RCHECK 255 media/base/container_names.cc RCHECK(ReadBits(&reader, 32) != 0); RCHECK 261 media/base/container_names.cc RCHECK(ReadBits(&reader, 32) != 0); RCHECK 276 media/base/container_names.cc RCHECK(buffer_size > 11); RCHECK 283 media/base/container_names.cc RCHECK(ReadBits(&reader, 32) == 0x7ffe8001); RCHECK 289 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 0); // CPF must be 0. RCHECK 292 media/base/container_names.cc RCHECK(ReadBits(&reader, 7) >= 5); RCHECK 296 media/base/container_names.cc RCHECK(frame_size >= 95); RCHECK 302 media/base/container_names.cc RCHECK(kSamplingFrequencyValid[ReadBits(&reader, 4)]); RCHECK 305 media/base/container_names.cc RCHECK(ReadBits(&reader, 5) <= 25); RCHECK 308 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 0); RCHECK 314 media/base/container_names.cc RCHECK(kExtAudioIdValid[ReadBits(&reader, 3)]); RCHECK 320 media/base/container_names.cc RCHECK(ReadBits(&reader, 2) != 3); RCHECK 331 media/base/container_names.cc RCHECK(buffer_size > 11); RCHECK 341 media/base/container_names.cc RCHECK(section < 5); RCHECK 344 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 1); RCHECK 355 media/base/container_names.cc RCHECK(ReadBits(&reader, 3) == 7); RCHECK 362 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 0); RCHECK 363 media/base/container_names.cc RCHECK(ReadBits(&reader, 11) == 0x7ff); RCHECK 365 media/base/container_names.cc RCHECK(ReadBits(&reader, 4) == 0xf); RCHECK 367 media/base/container_names.cc RCHECK(ReadBits(&reader, 4) == 0xf); RCHECK 369 media/base/container_names.cc RCHECK(ReadBits(&reader, 4) == 0xf); RCHECK 371 media/base/container_names.cc RCHECK(ReadBits(&reader, 24) == 0xffffff); RCHECK 377 media/base/container_names.cc RCHECK(sequence_number == current_sequence_number); RCHECK 379 media/base/container_names.cc RCHECK(block_number > last_block_number[section]); RCHECK 396 media/base/container_names.cc RCHECK(buffer_size >= 1024); // Need enough data to do a decent check. RCHECK 401 media/base/container_names.cc RCHECK((buffer[offset] & 0xf0) == 0xd0); RCHECK 437 media/base/container_names.cc RCHECK(buffer_size > 16); RCHECK 452 media/base/container_names.cc RCHECK(ReadBits(&reader, 20) == 0x10); RCHECK 473 media/base/container_names.cc RCHECK(next == 1); RCHECK 486 media/base/container_names.cc RCHECK(buffer_size > 16); RCHECK 501 media/base/container_names.cc RCHECK(ReadBits(&reader, 22) == 0x20); RCHECK 507 media/base/container_names.cc RCHECK(ReadBits(&reader, 2) == 2); RCHECK 515 media/base/container_names.cc RCHECK(format != 0 && format != 6); // Forbidden or reserved. RCHECK 523 media/base/container_names.cc RCHECK(format != 0 && format != 7); // Reserved. RCHECK 526 media/base/container_names.cc RCHECK(ReadBits(&reader, 4) == 8); // Not allowed. RCHECK 528 media/base/container_names.cc RCHECK(ufep == 0); // Only 0 and 1 allowed. RCHECK 533 media/base/container_names.cc RCHECK(picture_type_code != 6 && picture_type_code != 7); // Reserved. RCHECK 540 media/base/container_names.cc RCHECK(ReadBits(&reader, 3) == 1); // Not allowed. RCHECK 554 media/base/container_names.cc RCHECK(buffer_size > 4); RCHECK 569 media/base/container_names.cc RCHECK(ReadBits(&reader, 24) == 1); RCHECK 572 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 0); RCHECK 580 media/base/container_names.cc RCHECK(nal_ref_idc != 0); RCHECK 587 media/base/container_names.cc RCHECK(nal_ref_idc == 0); RCHECK 635 media/base/container_names.cc RCHECK(buffer_size >= 16); RCHECK 642 media/base/container_names.cc RCHECK(buffer[offset] == 0xff); RCHECK 644 media/base/container_names.cc RCHECK(code >= 0xc0 || code == 1); RCHECK 664 media/base/container_names.cc RCHECK(restart == (last_restart + 1) % 8); RCHECK 676 media/base/container_names.cc RCHECK(length == 8 + 2 * number_components); RCHECK 703 media/base/container_names.cc RCHECK(buffer_size > 14); RCHECK 710 media/base/container_names.cc RCHECK(ReadBits(&reader, 24) == 1); RCHECK 711 media/base/container_names.cc RCHECK(ReadBits(&reader, 8) == PACK_START_CODE); RCHECK 718 media/base/container_names.cc RCHECK(ReadBits(&reader, 2) == 2); RCHECK 720 media/base/container_names.cc RCHECK(mpeg_version == 1); RCHECK 727 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 1); RCHECK 733 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 1); RCHECK 739 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 1); RCHECK 743 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 1); RCHECK 749 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 1); RCHECK 759 media/base/container_names.cc RCHECK(ReadBits(&reader, 2) == 3); RCHECK 776 media/base/container_names.cc RCHECK(stream_id != 0xbc && stream_id < 0xf0); RCHECK 778 media/base/container_names.cc RCHECK(stream_id != 0xfc && stream_id != 0xfd && stream_id != 0xfe); RCHECK 787 media/base/container_names.cc RCHECK(pes_length > 0); RCHECK 805 media/base/container_names.cc RCHECK(buffer_size >= 250); // Want more than 1 packet to check. RCHECK 818 media/base/container_names.cc RCHECK(ReadBits(&reader, 8) == kMpeg2SyncWord); RCHECK 826 media/base/container_names.cc RCHECK(pid < 3 || pid > 15); RCHECK 833 media/base/container_names.cc RCHECK(adaptation_field_control != 0); RCHECK 843 media/base/container_names.cc RCHECK(adaptation_field_length == 183); RCHECK 845 media/base/container_names.cc RCHECK(adaptation_field_length <= 182); RCHECK 876 media/base/container_names.cc RCHECK(buffer_size > 4); RCHECK 894 media/base/container_names.cc RCHECK(ReadBits(&reader, 24) == 1); RCHECK 897 media/base/container_names.cc RCHECK(start_code < 0x30 || start_code > 0xaf); // 30..AF and RCHECK 898 media/base/container_names.cc RCHECK(start_code < 0xb7 || start_code > 0xb9); // B7..B9 reserved RCHECK 905 media/base/container_names.cc RCHECK(profile > 0); RCHECK 906 media/base/container_names.cc RCHECK(profile < 0x04 || profile > 0x10); RCHECK 907 media/base/container_names.cc RCHECK(profile < 0x13 || profile > 0x20); RCHECK 908 media/base/container_names.cc RCHECK(profile < 0x23 || profile > 0x31); RCHECK 909 media/base/container_names.cc RCHECK(profile < 0x35 || profile > 0x41); RCHECK 910 media/base/container_names.cc RCHECK(profile < 0x43 || profile > 0x60); RCHECK 911 media/base/container_names.cc RCHECK(profile < 0x65 || profile > 0x70); RCHECK 912 media/base/container_names.cc RCHECK(profile < 0x73 || profile > 0x80); RCHECK 913 media/base/container_names.cc RCHECK(profile < 0x83 || profile > 0x90); RCHECK 914 media/base/container_names.cc RCHECK(profile < 0x95 || profile > 0xa0); RCHECK 915 media/base/container_names.cc RCHECK(profile < 0xa4 || profile > 0xb0); RCHECK 916 media/base/container_names.cc RCHECK(profile < 0xb5 || profile > 0xc0); RCHECK 917 media/base/container_names.cc RCHECK(profile < 0xc3 || profile > 0xd0); RCHECK 918 media/base/container_names.cc RCHECK(profile < 0xe4); RCHECK 923 media/base/container_names.cc RCHECK(++sequence_end_count == sequence_start_count); RCHECK 930 media/base/container_names.cc RCHECK(visual_object_verid > 0 && visual_object_verid < 3); RCHECK 931 media/base/container_names.cc RCHECK(ReadBits(&reader, 3) != 0); RCHECK 934 media/base/container_names.cc RCHECK(visual_object_type > 0 && visual_object_type < 6); RCHECK 939 media/base/container_names.cc RCHECK(++vop_count <= visual_object_count); RCHECK 951 media/base/container_names.cc RCHECK(buffer_size > 8); RCHECK 1032 media/base/container_names.cc RCHECK(ReadBits(&reader, 11) == 0x7ff); RCHECK 1036 media/base/container_names.cc RCHECK(version != 1); // Reserved. RCHECK 1040 media/base/container_names.cc RCHECK(layer != 0); RCHECK 1047 media/base/container_names.cc RCHECK(bitrate_index != 0xf); RCHECK 1051 media/base/container_names.cc RCHECK(sampling_index != 3); RCHECK 1094 media/base/container_names.cc RCHECK(buffer_size >= 10); // Must be enough to read the initial header. RCHECK 1108 media/base/container_names.cc RCHECK(ValidMpegAudioFrameHeader( RCHECK 1128 media/base/container_names.cc RCHECK(*offset < buffer_size); RCHECK 1133 media/base/container_names.cc RCHECK(*offset < buffer_size); RCHECK 1157 media/base/container_names.cc RCHECK(*offset < buffer_size); RCHECK 1165 media/base/container_names.cc RCHECK(buffer_size > 20); RCHECK 1169 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100)); RCHECK 1170 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '\n', '\r')); RCHECK 1179 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100)); RCHECK 1180 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); RCHECK 1181 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); RCHECK 1182 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); RCHECK 1183 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); RCHECK 1184 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.')); RCHECK 1185 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3)); RCHECK 1186 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0)); RCHECK 1187 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0)); RCHECK 1188 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '-', 0)); RCHECK 1189 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, '>', 0)); RCHECK 1190 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ' ', 0)); RCHECK 1191 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 100)); RCHECK 1192 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); RCHECK 1193 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); RCHECK 1194 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ':', 0)); RCHECK 1195 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 2)); RCHECK 1196 media/base/container_names.cc RCHECK(VerifyCharacters(buffer, buffer_size, &offset, ',', '.')); RCHECK 1197 media/base/container_names.cc RCHECK(VerifyNumber(buffer, buffer_size, &offset, 3)); RCHECK 1248 media/base/container_names.cc RCHECK(buffer_size > 12); RCHECK 1253 media/base/container_names.cc RCHECK(GetElementId(&reader) == 0x1a45dfa3); RCHECK 1257 media/base/container_names.cc RCHECK(reader.bits_available() / 8 >= header_size); RCHECK 1272 media/base/container_names.cc RCHECK(reader.SkipBits(tagsize * 8)); RCHECK 1306 media/base/container_names.cc RCHECK(buffer_size >= 24); RCHECK 1321 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 0); RCHECK 1327 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 1); RCHECK 1333 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 0); RCHECK 1340 media/base/container_names.cc RCHECK(ReadBits(&reader, 1) == 1); RCHECK 1343 media/base/container_names.cc RCHECK(profile == 12); // Other profile values not allowed. RCHECK 1344 media/base/container_names.cc RCHECK(ReadBits(&reader, 28) == 0); RCHECK 1348 media/base/container_names.cc RCHECK(ReadBits(&reader, 32) <= 8192); RCHECK 1349 media/base/container_names.cc RCHECK(ReadBits(&reader, 32) <= 8192); RCHECK 1369 media/base/container_names.cc RCHECK(ReadBits(&reader, 24) == 1); RCHECK 1378 media/base/container_names.cc RCHECK(ReadBits(&reader, 2) == 0); RCHECK 1383 media/base/container_names.cc RCHECK(ReadBits(&reader, 3) <= 4); // Verify level = 0..4 RCHECK 1384 media/base/container_names.cc RCHECK(ReadBits(&reader, 2) == 1); // Verify colordiff_format = 1 RCHECK 1393 media/base/container_names.cc RCHECK(sequence_start_code > 0); RCHECK 220 media/formats/mp2t/es_parser_h264.cc RCHECK(EmitFrame(current_access_unit_pos_, access_unit_size, RCHECK 254 media/formats/mp2t/es_parser_h264.cc RCHECK(UpdateVideoDecoderConfig(sps)); RCHECK 285 media/formats/mp2t/mp2t_stream_parser.cc RCHECK(FinishInitializationIfNeeded()); RCHECK 480 media/formats/mp2t/mp2t_stream_parser.cc RCHECK(config_cb_.Run(queue_with_config.audio_config, RCHECK 88 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader.ReadBits(8, &syncword)); RCHECK 89 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader.ReadBits(1, &transport_error_indicator)); RCHECK 90 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader.ReadBits(1, &payload_unit_start_indicator)); RCHECK 91 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader.ReadBits(1, &transport_priority)); RCHECK 92 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader.ReadBits(13, &pid_)); RCHECK 93 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader.ReadBits(2, &transport_scrambling_control)); RCHECK 94 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader.ReadBits(2, &adaptation_field_control)); RCHECK 95 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader.ReadBits(4, &continuity_counter_)); RCHECK 110 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader.ReadBits(8, &adaptation_field_length)); RCHECK 152 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(1, &discontinuity_indicator)); RCHECK 153 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(1, &random_access_indicator)); RCHECK 154 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(1, &elementary_stream_priority_indicator)); RCHECK 155 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(1, &pcr_flag)); RCHECK 156 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(1, &opcr_flag)); RCHECK 157 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(1, &splicing_point_flag)); RCHECK 158 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(1, &transport_private_data_flag)); RCHECK 159 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(1, &adaptation_field_extension_flag)); RCHECK 167 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(33, &program_clock_reference_base)); RCHECK 168 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(6, &reserved)); RCHECK 169 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(9, &program_clock_reference_extension)); RCHECK 176 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(33, &original_program_clock_reference_base)); RCHECK 177 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(6, &reserved)); RCHECK 178 media/formats/mp2t/ts_packet.cc RCHECK( RCHECK 184 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(8, &splice_countdown)); RCHECK 189 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(8, &transport_private_data_length)); RCHECK 190 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->SkipBits(8 * transport_private_data_length)); RCHECK 195 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(8, &adaptation_field_extension_length)); RCHECK 196 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->SkipBits(8 * adaptation_field_extension_length)); RCHECK 202 media/formats/mp2t/ts_packet.cc RCHECK(adaptation_field_remaining_size >= 0); RCHECK 205 media/formats/mp2t/ts_packet.cc RCHECK(bit_reader->ReadBits(8, &stuffing_byte)); RCHECK 206 media/formats/mp2t/ts_packet.cc RCHECK(stuffing_byte == 0xff); RCHECK 36 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(8, &table_id)); RCHECK 37 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(1, §ion_syntax_indicator)); RCHECK 38 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(1, &dummy_zero)); RCHECK 39 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(2, &reserved)); RCHECK 40 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(12, §ion_length)); RCHECK 41 media/formats/mp2t/ts_section_pat.cc RCHECK(section_length >= 5); RCHECK 42 media/formats/mp2t/ts_section_pat.cc RCHECK(section_length <= 1021); RCHECK 43 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(16, &transport_stream_id)); RCHECK 44 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(2, &reserved)); RCHECK 45 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(5, &version_number)); RCHECK 46 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(1, ¤t_next_indicator)); RCHECK 47 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(8, §ion_number)); RCHECK 48 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(8, &last_section_number)); RCHECK 55 media/formats/mp2t/ts_section_pat.cc RCHECK(table_id == 0x0); RCHECK 56 media/formats/mp2t/ts_section_pat.cc RCHECK(section_syntax_indicator); RCHECK 57 media/formats/mp2t/ts_section_pat.cc RCHECK(!dummy_zero); RCHECK 61 media/formats/mp2t/ts_section_pat.cc RCHECK((section_length % 4) == 0); RCHECK 69 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(16, &program_number_array[k])); RCHECK 70 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(3, &reserved)); RCHECK 71 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(13, &pmt_pid_array[k])); RCHECK 74 media/formats/mp2t/ts_section_pat.cc RCHECK(bit_reader->ReadBits(32, &crc32)); RCHECK 190 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(24, &packet_start_code_prefix)); RCHECK 191 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(8, &stream_id)); RCHECK 192 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(16, &pes_packet_length)); RCHECK 194 media/formats/mp2t/ts_section_pes.cc RCHECK(packet_start_code_prefix == kPesStartCode); RCHECK 221 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(2, &dummy_2)); RCHECK 222 media/formats/mp2t/ts_section_pes.cc RCHECK(dummy_2 == 0x2); RCHECK 223 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(2, &PES_scrambling_control)); RCHECK 224 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, &PES_priority)); RCHECK 225 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, &data_alignment_indicator)); RCHECK 226 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, ©right)); RCHECK 227 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, &original_or_copy)); RCHECK 228 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(2, &pts_dts_flags)); RCHECK 229 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, &escr_flag)); RCHECK 230 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, &es_rate_flag)); RCHECK 231 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, &dsm_trick_mode_flag)); RCHECK 232 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, &additional_copy_info_flag)); RCHECK 233 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, &pes_crc_flag)); RCHECK 234 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(1, &pes_extension_flag)); RCHECK 235 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(8, &pes_header_data_length)); RCHECK 243 media/formats/mp2t/ts_section_pes.cc RCHECK(es_size >= 0); RCHECK 244 media/formats/mp2t/ts_section_pes.cc RCHECK(es_offset + es_size <= raw_pes_size); RCHECK 252 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(40, &pts_section)); RCHECK 253 media/formats/mp2t/ts_section_pes.cc RCHECK((((pts_section >> 36) & 0xf) == 0x2) && RCHECK 258 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(40, &pts_section)); RCHECK 259 media/formats/mp2t/ts_section_pes.cc RCHECK(bit_reader.ReadBits(40, &dts_section)); RCHECK 260 media/formats/mp2t/ts_section_pes.cc RCHECK((((pts_section >> 36) & 0xf) == 0x3) && RCHECK 262 media/formats/mp2t/ts_section_pes.cc RCHECK((((dts_section >> 36) & 0xf) == 0x1) && RCHECK 293 media/formats/mp2t/ts_section_pes.cc RCHECK(pes_header_remaining_size >= 0); RCHECK 35 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(8, &table_id)); RCHECK 36 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(1, §ion_syntax_indicator)); RCHECK 37 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(1, &dummy_zero)); RCHECK 38 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(2, &reserved)); RCHECK 39 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(12, §ion_length)); RCHECK 42 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(16, &program_number)); RCHECK 43 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(2, &reserved)); RCHECK 44 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(5, &version_number)); RCHECK 45 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(1, ¤t_next_indicator)); RCHECK 46 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(8, §ion_number)); RCHECK 47 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(8, &last_section_number)); RCHECK 53 media/formats/mp2t/ts_section_pmt.cc RCHECK(table_id == 0x2); RCHECK 54 media/formats/mp2t/ts_section_pmt.cc RCHECK(section_syntax_indicator); RCHECK 55 media/formats/mp2t/ts_section_pmt.cc RCHECK(!dummy_zero); RCHECK 56 media/formats/mp2t/ts_section_pmt.cc RCHECK(section_length <= 1021); RCHECK 57 media/formats/mp2t/ts_section_pmt.cc RCHECK(section_number == 0); RCHECK 58 media/formats/mp2t/ts_section_pmt.cc RCHECK(last_section_number == 0); RCHECK 67 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(3, &reserved)); RCHECK 68 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(13, &pcr_pid)); RCHECK 69 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(4, &reserved)); RCHECK 70 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(12, &program_info_length)); RCHECK 71 media/formats/mp2t/ts_section_pmt.cc RCHECK(program_info_length < 1024); RCHECK 76 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->SkipBits(8 * program_info_length)); RCHECK 88 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(8, &stream_type)); RCHECK 89 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(3, &reserved)); RCHECK 90 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(13, &pid_es)); RCHECK 91 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(4, &reserved)); RCHECK 92 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(12, &es_info_length)); RCHECK 102 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->SkipBits(8 * es_info_length)); RCHECK 107 media/formats/mp2t/ts_section_pmt.cc RCHECK(bit_reader->ReadBits(32, &crc32)); RCHECK 105 media/formats/mp2t/ts_section_psi.cc RCHECK(IsCrcValid(raw_psi, psi_length)); RCHECK 44 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(5, &profile_)); RCHECK 45 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(4, &frequency_index_)); RCHECK 47 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(24, &frequency_)); RCHECK 48 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(4, &channel_config_)); RCHECK 54 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(4, &extension_frequency_index)); RCHECK 56 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(24, &extension_frequency_)); RCHECK 57 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(5, &profile_)); RCHECK 60 media/formats/mp4/aac.cc RCHECK(SkipDecoderGASpecificConfig(&reader)); RCHECK 61 media/formats/mp4/aac.cc RCHECK(SkipErrorSpecificConfig()); RCHECK 73 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(1, &sbr_present_flag)); RCHECK 76 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(4, &extension_frequency_index)); RCHECK 79 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(24, &extension_frequency_)); RCHECK 83 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(11, &sync_extension_type)); RCHECK 85 media/formats/mp4/aac.cc RCHECK(reader.ReadBits(1, &ps_present_flag)); RCHECK 95 media/formats/mp4/aac.cc RCHECK(frequency_index_ < kADTSFrequencyTableSize); RCHECK 100 media/formats/mp4/aac.cc RCHECK(extension_frequency_index < kADTSFrequencyTableSize); RCHECK 108 media/formats/mp4/aac.cc RCHECK(channel_config_ < kADTSChannelLayoutTableSize); RCHECK 217 media/formats/mp4/aac.cc RCHECK(bit_reader->ReadBits(1, &dummy)); // frameLengthFlag RCHECK 218 media/formats/mp4/aac.cc RCHECK(bit_reader->ReadBits(1, &depends_on_core_coder)); RCHECK 220 media/formats/mp4/aac.cc RCHECK(bit_reader->ReadBits(14, &dummy)); // coreCoderDelay RCHECK 222 media/formats/mp4/aac.cc RCHECK(bit_reader->ReadBits(1, &extension_flag)); RCHECK 223 media/formats/mp4/aac.cc RCHECK(channel_config_ != 0); RCHECK 226 media/formats/mp4/aac.cc RCHECK(bit_reader->ReadBits(3, &dummy)); // layerNr RCHECK 230 media/formats/mp4/aac.cc RCHECK(bit_reader->ReadBits(5, &dummy)); // numOfSubFrame RCHECK 231 media/formats/mp4/aac.cc RCHECK(bit_reader->ReadBits(11, &dummy)); // layer_length RCHECK 235 media/formats/mp4/aac.cc RCHECK(bit_reader->ReadBits(3, &dummy)); // resilience flags RCHECK 238 media/formats/mp4/aac.cc RCHECK(bit_reader->ReadBits(1, &dummy)); // extensionFlag3 RCHECK 36 media/formats/mp4/avc.cc RCHECK(length_size == 1 || length_size == 2 || length_size == 4); RCHECK 51 media/formats/mp4/avc.cc RCHECK(pos + nal_size <= temp.size()); RCHECK 19 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFourCC(&major_brand) && reader->Read4(&minor_version)); RCHECK 31 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader() && RCHECK 47 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader()); RCHECK 49 media/formats/mp4/box_definitions.cc RCHECK(reader->SkipBytes(8)); RCHECK 52 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&count) && RCHECK 58 media/formats/mp4/box_definitions.cc RCHECK(reader->Read8(&offsets[i])); RCHECK 60 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4Into8(&offsets[i])); RCHECK 73 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader()); RCHECK 75 media/formats/mp4/box_definitions.cc RCHECK(reader->SkipBytes(8)); RCHECK 77 media/formats/mp4/box_definitions.cc RCHECK(reader->Read1(&default_sample_info_size) && RCHECK 97 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader() && RCHECK 111 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader() && RCHECK 118 media/formats/mp4/box_definitions.cc RCHECK(default_iv_size == 8 || default_iv_size == 16); RCHECK 120 media/formats/mp4/box_definitions.cc RCHECK(default_iv_size == 0); RCHECK 138 media/formats/mp4/box_definitions.cc RCHECK(reader->ScanChildren() && RCHECK 142 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadChild(&info)); RCHECK 162 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader()); RCHECK 165 media/formats/mp4/box_definitions.cc RCHECK(reader->Read8(&creation_time) && RCHECK 170 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4Into8(&creation_time) && RCHECK 176 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4s(&rate) && RCHECK 199 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader()); RCHECK 201 media/formats/mp4/box_definitions.cc RCHECK(reader->Read8(&creation_time) && RCHECK 207 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4Into8(&creation_time) && RCHECK 214 media/formats/mp4/box_definitions.cc RCHECK(reader->SkipBytes(8) && // reserved RCHECK 233 media/formats/mp4/box_definitions.cc RCHECK(reader->SkipBytes(4) && RCHECK 241 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadAllChildren(&video_entries)); RCHECK 243 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadAllChildren(&audio_entries)); RCHECK 254 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader() && RCHECK 270 media/formats/mp4/box_definitions.cc RCHECK(reader->SkipBytes(skip_size)); RCHECK 291 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader() && reader->Read4(&count)); RCHECK 294 media/formats/mp4/box_definitions.cc RCHECK(reader->HasBytes(count * 20)); RCHECK 296 media/formats/mp4/box_definitions.cc RCHECK(reader->HasBytes(count * 12)); RCHECK 303 media/formats/mp4/box_definitions.cc RCHECK(reader->Read8(&edit->segment_duration) && RCHECK 306 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4Into8(&edit->segment_duration) && RCHECK 309 media/formats/mp4/box_definitions.cc RCHECK(reader->Read2s(&edit->media_rate_integer) && RCHECK 329 media/formats/mp4/box_definitions.cc RCHECK(reader->SkipBytes(8) && reader->ReadFourCC(&hdlr_type)); RCHECK 352 media/formats/mp4/box_definitions.cc RCHECK(reader->Read1(&version) && version == 1 && RCHECK 358 media/formats/mp4/box_definitions.cc RCHECK(reader->Read1(&length_size_minus_one) && RCHECK 363 media/formats/mp4/box_definitions.cc RCHECK(reader->Read1(&num_sps) && (num_sps & 0xe0) == 0xe0); RCHECK 369 media/formats/mp4/box_definitions.cc RCHECK(reader->Read2(&sps_length) && RCHECK 374 media/formats/mp4/box_definitions.cc RCHECK(reader->Read1(&num_pps)); RCHECK 379 media/formats/mp4/box_definitions.cc RCHECK(reader->Read2(&pps_length) && RCHECK 391 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&h_spacing) && RCHECK 411 media/formats/mp4/box_definitions.cc RCHECK(reader->SkipBytes(6) && RCHECK 418 media/formats/mp4/box_definitions.cc RCHECK(reader->ScanChildren() && RCHECK 431 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadChild(&avcc)); RCHECK 455 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader()); RCHECK 456 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadVec(&data, reader->size() - reader->pos())); RCHECK 457 media/formats/mp4/box_definitions.cc RCHECK(es_desc.Parse(data)); RCHECK 461 media/formats/mp4/box_definitions.cc RCHECK(aac.Parse(es_desc.decoder_specific_info())); RCHECK 483 media/formats/mp4/box_definitions.cc RCHECK(reader->SkipBytes(6) && RCHECK 493 media/formats/mp4/box_definitions.cc RCHECK(reader->ScanChildren()); RCHECK 504 media/formats/mp4/box_definitions.cc RCHECK(reader->MaybeReadChild(&esds)); RCHECK 517 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader()); RCHECK 520 media/formats/mp4/box_definitions.cc RCHECK(reader->Read8(&creation_time) && RCHECK 525 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4Into8(&creation_time) && RCHECK 548 media/formats/mp4/box_definitions.cc RCHECK(reader->ScanChildren() && RCHECK 559 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadChild(&information)); RCHECK 568 media/formats/mp4/box_definitions.cc RCHECK(reader->ScanChildren() && RCHECK 580 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader()); RCHECK 582 media/formats/mp4/box_definitions.cc RCHECK(reader->Read8(&fragment_duration)); RCHECK 584 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4Into8(&fragment_duration)); RCHECK 599 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader() && RCHECK 637 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader()); RCHECK 664 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader() && reader->Read4(&track_id)); RCHECK 672 media/formats/mp4/box_definitions.cc RCHECK(!(reader->flags() & 0x1)); RCHECK 675 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&sample_description_index)); RCHECK 681 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&default_sample_duration)); RCHECK 687 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&default_sample_size)); RCHECK 693 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&default_sample_flags)); RCHECK 708 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader() && RCHECK 720 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&data_offset)); RCHECK 727 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&first_sample_flags)); RCHECK 731 media/formats/mp4/box_definitions.cc RCHECK(reader->HasBytes(fields * sample_count)); RCHECK 744 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&sample_durations[i])); RCHECK 746 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&sample_sizes[i])); RCHECK 748 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4(&sample_flags[i])); RCHECK 750 media/formats/mp4/box_definitions.cc RCHECK(reader->Read4s(&sample_composition_time_offsets[i])); RCHECK 783 media/formats/mp4/box_definitions.cc RCHECK(reader->ScanChildren() && RCHECK 795 media/formats/mp4/box_definitions.cc RCHECK(reader->ReadFullBoxHeader()); RCHECK 796 media/formats/mp4/box_definitions.cc RCHECK(reader->version() == 0); RCHECK 797 media/formats/mp4/box_definitions.cc RCHECK(reader->flags() == 0); RCHECK 803 media/formats/mp4/box_definitions.cc RCHECK(reader->Read1(&sample_info)); RCHECK 808 media/formats/mp4/box_definitions.cc RCHECK(sample_depends_on_[i] != kSampleDependsOnReserved); RCHECK 23 media/formats/mp4/box_reader.cc RCHECK(HasBytes(1)); RCHECK 30 media/formats/mp4/box_reader.cc RCHECK(HasBytes(sizeof(T))); RCHECK 53 media/formats/mp4/box_reader.cc RCHECK(HasBytes(count)); RCHECK 61 media/formats/mp4/box_reader.cc RCHECK(HasBytes(bytes)); RCHECK 68 media/formats/mp4/box_reader.cc RCHECK(Read4(&tmp)); RCHECK 76 media/formats/mp4/box_reader.cc RCHECK(Read4s(&tmp)); RCHECK 191 media/formats/mp4/box_reader.cc RCHECK(itr != children_.end()); RCHECK 193 media/formats/mp4/box_reader.cc RCHECK(child->Parse(&itr->second)); RCHECK 205 media/formats/mp4/box_reader.cc RCHECK(Read4(&vflags)); RCHECK 166 media/formats/mp4/box_reader.h RCHECK(MaybeReadChildren(children) && !children->empty()); RCHECK 183 media/formats/mp4/box_reader.h RCHECK(child_itr->Parse(&itr->second)); RCHECK 203 media/formats/mp4/box_reader.h RCHECK(child.Parse(&child_reader)); RCHECK 59 media/formats/mp4/box_reader_unittest.cc RCHECK(reader->ReadFullBoxHeader() && RCHECK 21 media/formats/mp4/cenc.cc RCHECK(iv_size == 8 || iv_size == 16); RCHECK 25 media/formats/mp4/cenc.cc RCHECK(reader->Read1(&iv[i])); RCHECK 30 media/formats/mp4/cenc.cc RCHECK(reader->Read2(&subsample_count) && RCHECK 37 media/formats/mp4/cenc.cc RCHECK(reader->Read2(&clear_bytes) && RCHECK 49 media/formats/mp4/cenc.cc RCHECK(size >= subsamples[i].clear_bytes); // overflow RCHECK 51 media/formats/mp4/cenc.cc RCHECK(size >= subsamples[i].cypher_bytes); // overflow RCHECK 19 media/formats/mp4/es_descriptor.cc RCHECK(reader->ReadBits(1, &msb)); RCHECK 20 media/formats/mp4/es_descriptor.cc RCHECK(reader->ReadBits(7, &byte)); RCHECK 54 media/formats/mp4/es_descriptor.cc RCHECK(reader.ReadBits(8, &tag)); RCHECK 55 media/formats/mp4/es_descriptor.cc RCHECK(tag == kESDescrTag); RCHECK 56 media/formats/mp4/es_descriptor.cc RCHECK(ReadESSize(&reader, &size)); RCHECK 58 media/formats/mp4/es_descriptor.cc RCHECK(reader.ReadBits(16, &dummy)); // ES_ID RCHECK 59 media/formats/mp4/es_descriptor.cc RCHECK(reader.ReadBits(1, &stream_dependency_flag)); RCHECK 60 media/formats/mp4/es_descriptor.cc RCHECK(reader.ReadBits(1, &url_flag)); RCHECK 61 media/formats/mp4/es_descriptor.cc RCHECK(!url_flag); // We don't support url flag RCHECK 62 media/formats/mp4/es_descriptor.cc RCHECK(reader.ReadBits(1, &ocr_stream_flag)); RCHECK 63 media/formats/mp4/es_descriptor.cc RCHECK(reader.ReadBits(5, &dummy)); // streamPriority RCHECK 66 media/formats/mp4/es_descriptor.cc RCHECK(reader.ReadBits(16, &dummy)); // dependsOn_ES_ID RCHECK 68 media/formats/mp4/es_descriptor.cc RCHECK(reader.ReadBits(16, &dummy)); // OCR_ES_Id RCHECK 70 media/formats/mp4/es_descriptor.cc RCHECK(ParseDecoderConfigDescriptor(&reader)); RCHECK 88 media/formats/mp4/es_descriptor.cc RCHECK(reader->ReadBits(8, &tag)); RCHECK 89 media/formats/mp4/es_descriptor.cc RCHECK(tag == kDecoderConfigDescrTag); RCHECK 90 media/formats/mp4/es_descriptor.cc RCHECK(ReadESSize(reader, &size)); RCHECK 92 media/formats/mp4/es_descriptor.cc RCHECK(reader->ReadBits(8, &object_type_)); RCHECK 93 media/formats/mp4/es_descriptor.cc RCHECK(reader->ReadBits(64, &dummy)); RCHECK 94 media/formats/mp4/es_descriptor.cc RCHECK(reader->ReadBits(32, &dummy)); RCHECK 95 media/formats/mp4/es_descriptor.cc RCHECK(ParseDecoderSpecificInfo(reader)); RCHECK 104 media/formats/mp4/es_descriptor.cc RCHECK(reader->ReadBits(8, &tag)); RCHECK 105 media/formats/mp4/es_descriptor.cc RCHECK(tag == kDecoderSpecificInfoTag); RCHECK 106 media/formats/mp4/es_descriptor.cc RCHECK(ReadESSize(reader, &size)); RCHECK 110 media/formats/mp4/es_descriptor.cc RCHECK(reader->ReadBits(8, &decoder_specific_info_[i])); RCHECK 160 media/formats/mp4/mp4_stream_parser.cc RCHECK(moov_->Parse(reader)); RCHECK 188 media/formats/mp4/mp4_stream_parser.cc RCHECK(desc_idx > 0); RCHECK 192 media/formats/mp4/mp4_stream_parser.cc RCHECK(!samp_descr.audio_entries.empty()); RCHECK 260 media/formats/mp4/mp4_stream_parser.cc RCHECK(!samp_descr.video_entries.empty()); RCHECK 289 media/formats/mp4/mp4_stream_parser.cc RCHECK(config_cb_.Run(audio_config, video_config, TextTrackConfigMap())); RCHECK 311 media/formats/mp4/mp4_stream_parser.cc RCHECK(moov_.get()); // Must already have initialization segment RCHECK 313 media/formats/mp4/mp4_stream_parser.cc RCHECK(moof.Parse(reader)); RCHECK 316 media/formats/mp4/mp4_stream_parser.cc RCHECK(runs_->Init(moof)); RCHECK 354 media/formats/mp4/mp4_stream_parser.cc RCHECK(AVC::ConvertFrameToAnnexB(avc_config.length_size, frame_buf)); RCHECK 359 media/formats/mp4/mp4_stream_parser.cc RCHECK(frame_buf->size() == expected_size); RCHECK 369 media/formats/mp4/mp4_stream_parser.cc RCHECK(AVC::ConvertConfigToAnnexB(avc_config, ¶m_sets)); RCHECK 382 media/formats/mp4/mp4_stream_parser.cc RCHECK(aac_config.ConvertEsdsToADTS(frame_buf)); RCHECK 181 media/formats/mp4/track_run_iterator.cc RCHECK(trak); RCHECK 188 media/formats/mp4/track_run_iterator.cc RCHECK(trex); RCHECK 198 media/formats/mp4/track_run_iterator.cc RCHECK(desc_idx > 0); // Descriptions are one-indexed in the file RCHECK 232 media/formats/mp4/track_run_iterator.cc RCHECK(!stsd.audio_entries.empty()); RCHECK 237 media/formats/mp4/track_run_iterator.cc RCHECK(!stsd.video_entries.empty()); RCHECK 249 media/formats/mp4/track_run_iterator.cc RCHECK(traf.auxiliary_size.sample_count >= RCHECK 333 media/formats/mp4/track_run_iterator.cc RCHECK(AuxInfoNeedsToBeCached() && buf_size >= aux_info_size()); RCHECK 343 media/formats/mp4/track_run_iterator.cc RCHECK(cenc_info_[i].Parse(track_encryption().default_iv_size, &reader));