virtual void processPESPacket(__u8 *pkt, int len) = 0;
virtual ~ePESParser() { }
private:
- unsigned char m_pes_buffer[65536];
+ unsigned char m_pes_buffer[65536+6]; // max pes packetlength + pes header
int m_pes_position, m_pes_length;
unsigned char m_header[4];
unsigned char m_stream_id_mask;