shaka-packager/packager/media/formats/mp2t
Joey Parrish c29c03c6e3
test: Fix bad assertions in formats/mp4 and formats/mp2t tests (#1247)
PR #1242 introduced some bad assertions that went unnoticed because we
are not yet building those modules in the cmake branch. This fixes those
so that ASSERT_ macros are not used in non-void functions, and so that
assumptions about a successful parse are always after an ASSERT_ that
the data was loaded properly.

All ASSERT_ macros from #1242 were audited, and the others were all
fine.
2023-07-18 11:30:05 -07:00
..
ac3_header.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ac3_header.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ac3_header_unittest.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
adts_header.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
adts_header.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
adts_header_unittest.cc Fix non standard channel layout AAC audio with PCE encoding 2019-10-01 10:15:58 -07:00
audio_header.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
continuity_counter.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
continuity_counter.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
es_parser.h Propagate Flush errors in MP2T parser. 2021-01-20 18:27:31 +00:00
es_parser_audio.cc Propagate Flush errors in MP2T parser. 2021-01-20 18:27:31 +00:00
es_parser_audio.h Propagate Flush errors in MP2T parser. 2021-01-20 18:27:31 +00:00
es_parser_dvb.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
es_parser_dvb.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
es_parser_h26x.cc fix: Parse one frame mpeg-ts video (#1015) 2022-10-27 20:22:17 -07:00
es_parser_h26x.h fix: Parse one frame mpeg-ts video (#1015) 2022-10-27 20:22:17 -07:00
es_parser_h26x_unittest.cc Merge branch 'main' into cmake 2022-11-03 07:58:47 -07:00
es_parser_h264.cc fix: Parse one frame mpeg-ts video (#1015) 2022-10-27 20:22:17 -07:00
es_parser_h264.h fix: Parse one frame mpeg-ts video (#1015) 2022-10-27 20:22:17 -07:00
es_parser_h264_unittest.cc test: Avoid crashing a test executable (#1242) 2023-07-17 13:16:22 -07:00
es_parser_h265.cc Merge branch 'main' into cmake 2022-11-03 07:58:47 -07:00
es_parser_h265.h Merge branch 'main' into cmake 2022-11-03 07:58:47 -07:00
mp2t.gyp chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
mp2t_common.h cleanup: Convert all time parameters to signed 2021-08-05 18:24:15 +00:00
mp2t_media_parser.cc fix: Parse one frame mpeg-ts video (#1015) 2022-10-27 20:22:17 -07:00
mp2t_media_parser.h Add cc_index to stream descriptor. 2021-02-17 18:33:53 +00:00
mp2t_media_parser_unittest.cc test: Fix bad assertions in formats/mp4 and formats/mp2t tests (#1247) 2023-07-18 11:30:05 -07:00
mpeg1_header.cc Generate object type properly for MPEG-1 audio 2021-04-04 22:47:31 -07:00
mpeg1_header.h Support for MPEG-1 Audio in mpeg2ts I/O and packed-audio output (#778) 2020-06-02 17:32:19 -07:00
mpeg1_header_unittest.cc Support for MPEG-1 Audio in mpeg2ts I/O and packed-audio output (#778) 2020-06-02 17:32:19 -07:00
pes_packet.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
pes_packet.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
pes_packet_generator.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
pes_packet_generator.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
pes_packet_generator_unittest.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
program_map_table_writer.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
program_map_table_writer.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
program_map_table_writer_unittest.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_muxer.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_muxer.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_packet.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
ts_packet.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_packet_writer_util.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_packet_writer_util.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_section.h Propagate Flush errors in MP2T parser. 2021-01-20 18:27:31 +00:00
ts_section_pat.cc Use TsStreamType for MP2T parser. 2021-02-01 20:13:13 +00:00
ts_section_pat.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_section_pes.cc fix: Parse one frame mpeg-ts video (#1015) 2022-10-27 20:22:17 -07:00
ts_section_pes.h Propagate Flush errors in MP2T parser. 2021-01-20 18:27:31 +00:00
ts_section_pmt.cc Add cc_index to stream descriptor. 2021-02-17 18:33:53 +00:00
ts_section_pmt.h Add cc_index to stream descriptor. 2021-02-17 18:33:53 +00:00
ts_section_psi.cc Propagate Flush errors in MP2T parser. 2021-01-20 18:27:31 +00:00
ts_section_psi.h Propagate Flush errors in MP2T parser. 2021-01-20 18:27:31 +00:00
ts_segmenter.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_segmenter.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_segmenter_unittest.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_stream_type.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_writer.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_writer.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
ts_writer_unittest.cc chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00