[FFmpeg-cvslog] rtpdec: Remove unused context variables

Martin Storsjö git at videolan.org
Thu Dec 13 12:16:40 CET 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue Dec 11 19:35:03 2012 +0200| [e66d448c7564424e958332212083beecbc6e1868] | committer: Martin Storsjö

rtpdec: Remove unused context variables

These stem from back when both the rtp muxer and rtp depacketizing
shared the same struct.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e66d448c7564424e958332212083beecbc6e1868
---

 libavformat/rtpdec.h |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index da3680d..f643fa2 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -176,15 +176,12 @@ struct RTPDemuxContext {
     unsigned int packet_count;     // TODO: move into statistics (outgoing)
     unsigned int octet_count;      // TODO: move into statistics (outgoing)
     unsigned int last_octet_count; // TODO: move into statistics (outgoing)
-    int first_packet;
     /* buffer for output */
     uint8_t buf[RTP_MAX_PACKET_LENGTH];
-    uint8_t *buf_ptr;
 
     /* dynamic payload stuff */
     DynamicPayloadPacketHandlerProc parse_packet;     ///< This is also copied from the dynamic protocol handler structure
     PayloadContext *dynamic_protocol_context;        ///< This is a copy from the values setup from the sdp parsing, in rtsp.c don't free me.
-    int max_frames_per_packet;
 };
 
 void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler);



More information about the ffmpeg-cvslog mailing list