summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-01-17 14:34:59 +0200
committerMartin Storsjö <martin@martin.st>2013-01-20 18:17:17 +0200
commit2326558d5277ec87ba6d607a01ec6acfc51c694c (patch)
tree3417a2e59c2d6f4b67e4b959dd03011e7658d9b0 /libavformat/rtpdec.h
parentd5bb8cc2dd91687c87a05f386694e16b2860a7f7 (diff)
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>
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index eaef993d09..a93963a7a8 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -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;