You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
rtpdec: Split mpegts parsing to a normal depacketizer
This gets rid of a number of special cases from the common rtpdec code. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@ -160,9 +160,6 @@ struct RTPDemuxContext {
|
||||
int64_t unwrapped_timestamp;
|
||||
int64_t range_start_offset;
|
||||
int max_payload_size;
|
||||
struct MpegTSContext *ts; /* only used for MP2T payloads */
|
||||
int read_buf_index;
|
||||
int read_buf_size;
|
||||
/* used to send back RTCP RR */
|
||||
char hostname[256];
|
||||
|
||||
@ -192,9 +189,6 @@ struct RTPDemuxContext {
|
||||
unsigned int last_octet_count;
|
||||
int64_t last_feedback_time;
|
||||
|
||||
/* buffer for partially parsed packets */
|
||||
uint8_t buf[RTP_MAX_PACKET_LENGTH];
|
||||
|
||||
/* dynamic payload stuff */
|
||||
const RTPDynamicProtocolHandler *handler;
|
||||
PayloadContext *dynamic_protocol_context;
|
||||
|
Reference in New Issue
Block a user