diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index aca6a5a8495cf56baa378d01102d8cd576821654..190dff4bd2239e1da4862a139521e74002497bb1 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -40,9 +40,6 @@
 #include <sys/poll.h>
 #endif
 
-#define RTP_TX_BUF_SIZE  (64 * 1024)
-#define RTP_RX_BUF_SIZE  (128 * 1024)
-
 typedef struct RTPContext {
     URLContext *rtp_hd, *rtcp_hd;
     int rtp_fd, rtcp_fd;