From 009b7d2a7e16c0485d655f28a8a3594f2838a02f Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 2 Feb 2010 15:26:59 +0100 Subject: remove old buffer and a/v sync parts --- dxr3pesframe.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'dxr3pesframe.c') diff --git a/dxr3pesframe.c b/dxr3pesframe.c index 817c51c..c0731da 100644 --- a/dxr3pesframe.c +++ b/dxr3pesframe.c @@ -24,7 +24,6 @@ #include #include -#include "dxr3demuxdevice.h" // ================================== bool cDxr3PesFrame::parse(const uint8_t *pes, uint32_t length) @@ -76,14 +75,6 @@ bool cDxr3PesFrame::parse(const uint8_t *pes, uint32_t length) m_payload = &pes[payloadStart]; m_payloadLength = length - payloadStart; - // check for max sizes supported by syncbuffer - if (m_pesDataType == PES_VIDEO_DATA && m_payloadLength > (uint32_t)VIDEO_MAX_FRAME_SIZE) { - return false; - } - if (m_pesDataType == PES_AUDIO_DATA && m_payloadLength > (uint32_t)AUIDO_MAX_FRAME_SIZE) { - return false; - } - if (m_pesDataType == PES_VIDEO_DATA) { // we can get some informations about the video payload -- cgit v1.2.3