Mercurial > libavformat.hg
comparison rtpdec_h264.c @ 5910:536e5527c1e0 libavformat
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.
author | stefano |
---|---|
date | Tue, 30 Mar 2010 23:30:55 +0000 |
parents | 84bfac703b3a |
children | 178de7695c6c |
comparison
equal
deleted
inserted
replaced
5909:b8041f85c327 | 5910:536e5527c1e0 |
---|---|
409 /** | 409 /** |
410 This is the structure for expanding on the dynamic rtp protocols (makes everything static. yay!) | 410 This is the structure for expanding on the dynamic rtp protocols (makes everything static. yay!) |
411 */ | 411 */ |
412 RTPDynamicProtocolHandler ff_h264_dynamic_handler = { | 412 RTPDynamicProtocolHandler ff_h264_dynamic_handler = { |
413 .enc_name = "H264", | 413 .enc_name = "H264", |
414 .codec_type = CODEC_TYPE_VIDEO, | 414 .codec_type = AVMEDIA_TYPE_VIDEO, |
415 .codec_id = CODEC_ID_H264, | 415 .codec_id = CODEC_ID_H264, |
416 .parse_sdp_a_line = parse_h264_sdp_line, | 416 .parse_sdp_a_line = parse_h264_sdp_line, |
417 .open = h264_new_context, | 417 .open = h264_new_context, |
418 .close = h264_free_context, | 418 .close = h264_free_context, |
419 .parse_packet = h264_handle_packet | 419 .parse_packet = h264_handle_packet |