]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtp.h
fix ending null entry in table
[ffmpeg] / libavformat / rtp.h
index b7f9e909ef258dd382ab77c75063aa3d815ece60..8cb4caec8c5cadb6e9d0057c995d1821d754caae 100644 (file)
@@ -14,7 +14,7 @@
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 #ifndef RTP_H
 #define RTP_H
@@ -29,12 +29,12 @@ int rtp_get_payload_type(AVCodecContext *codec);
 typedef struct RTPDemuxContext RTPDemuxContext;
 typedef struct rtp_payload_data_s rtp_payload_data_s;
 RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, int payload_type, rtp_payload_data_s *rtp_payload_data);
-int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt, 
+int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
                      const uint8_t *buf, int len);
 void rtp_parse_close(RTPDemuxContext *s);
 
-extern AVOutputFormat rtp_mux;
-extern AVInputFormat rtp_demux;
+extern AVOutputFormat rtp_muxer;
+extern AVInputFormat rtp_demuxer;
 
 int rtp_get_local_port(URLContext *h);
 int rtp_set_remote_url(URLContext *h, const char *uri);
@@ -94,6 +94,7 @@ typedef struct AVRtpDynamicPayloadType_s /* payload type >= 96 */
     enum CodecID codec_id;
 } AVRtpDynamicPayloadType_t;
 
+#if 0
 typedef enum {
   RTCP_SR   = 200,
   RTCP_RR   = 201,
@@ -116,6 +117,7 @@ typedef enum {
   RTCP_SDES_DOOR   = 10,
   RTCP_SDES_SOURCE = 11
 } rtcp_sdes_type_t;
+#endif
 
 extern AVRtpPayloadType_t AVRtpPayloadTypes[];
 extern AVRtpDynamicPayloadType_t AVRtpDynamicPayloadTypes[];