Revision 1d1be919 libavformat/rtp.c

View differences:

libavformat/rtp.c
34 34
#include <netdb.h>
35 35

  
36 36
#include "rtp_internal.h"
37

  
38
//#define RTP_H264
39
#ifdef RTP_H264
40
    #include "rtp_h264.h"
41
#endif
37
#include "rtp_h264.h"
42 38

  
43 39
//#define DEBUG
44 40

  
......
202 198
{
203 199
    register_dynamic_payload_handler(&mp4v_es_handler);
204 200
    register_dynamic_payload_handler(&mpeg4_generic_handler);
205
#ifdef RTP_H264
206 201
    register_dynamic_payload_handler(&ff_h264_dynamic_handler);
207
#endif
208 202
}
209 203

  
210 204
int rtp_get_codec_info(AVCodecContext *codec, int payload_type)
......
488 482
        case CODEC_ID_MP2:
489 483
        case CODEC_ID_MP3:
490 484
        case CODEC_ID_MPEG4:
491
#ifdef RTP_H264
492 485
        case CODEC_ID_H264:
493
#endif
494 486
            st->need_parsing = 1;
495 487
            break;
496 488
        default:

Also available in: Unified diff