Mercurial > libavformat.hg
diff 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 |
line wrap: on
line diff
--- a/rtpdec_h264.c Tue Mar 30 15:50:57 2010 +0000 +++ b/rtpdec_h264.c Tue Mar 30 23:30:55 2010 +0000 @@ -411,7 +411,7 @@ */ RTPDynamicProtocolHandler ff_h264_dynamic_handler = { .enc_name = "H264", - .codec_type = CODEC_TYPE_VIDEO, + .codec_type = AVMEDIA_TYPE_VIDEO, .codec_id = CODEC_ID_H264, .parse_sdp_a_line = parse_h264_sdp_line, .open = h264_new_context,