summaryrefslogtreecommitdiff
path: root/libavformat/rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtp.c')
-rw-r--r--libavformat/rtp.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/libavformat/rtp.c b/libavformat/rtp.c
index b30000bebd..7bef395f3a 100644
--- a/libavformat/rtp.c
+++ b/libavformat/rtp.c
@@ -34,11 +34,7 @@
#include <netdb.h>
#include "rtp_internal.h"
-
-//#define RTP_H264
-#ifdef RTP_H264
- #include "rtp_h264.h"
-#endif
+#include "rtp_h264.h"
//#define DEBUG
@@ -202,9 +198,7 @@ void av_register_rtp_dynamic_payload_handlers()
{
register_dynamic_payload_handler(&mp4v_es_handler);
register_dynamic_payload_handler(&mpeg4_generic_handler);
-#ifdef RTP_H264
register_dynamic_payload_handler(&ff_h264_dynamic_handler);
-#endif
}
int rtp_get_codec_info(AVCodecContext *codec, int payload_type)
@@ -488,9 +482,7 @@ RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, URLContext *r
case CODEC_ID_MP2:
case CODEC_ID_MP3:
case CODEC_ID_MPEG4:
-#ifdef RTP_H264
case CODEC_ID_H264:
-#endif
st->need_parsing = 1;
break;
default: