HDMV PGS: convert preprocessor defines to static constexprs

This commit is contained in:
Moritz Bunkus 2019-01-09 18:04:24 +01:00
parent 86e754bf90
commit 49d81f4e95
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -58,7 +58,7 @@ hdmv_pgs_packetizer_c::process(packet_cptr packet) {
} else
m_aggregated->data->add(packet->data);
if ( (0 != packet->data->get_size())
if ( (0 != packet->data->get_size())
&& (mtx::pgs::END_OF_DISPLAY_SEGMENT == packet->data->get_buffer()[0])) {
add_packet(m_aggregated);
m_aggregated.reset();