Should be OCR tag here

This commit is contained in:
Brendan Bolles
2025-12-04 10:21:46 -08:00
parent f2b676d9cc
commit a13fcb9147

View File

@@ -95,7 +95,7 @@ AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream& stream,
payload_size -= url_length;
}
}
if (m_Flags & AP4_ES_DESCRIPTOR_FLAG_URL) {
if (m_Flags & AP4_ES_DESCRIPTOR_FLAG_OCR_STREAM) {
if (payload_size < 2) return;
stream.ReadUI16(m_OcrEsId);
payload_size -= 2;