Mercurial > libavformat.hg
diff rtp.h @ 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 | 5315c722e61e |
children | 3aa7765383b5 |
line wrap: on
line diff
--- a/rtp.h Tue Mar 30 15:50:57 2010 +0000 +++ b/rtp.h Tue Mar 30 23:30:55 2010 +0000 @@ -66,7 +66,7 @@ * @return In case of unknown encoding name, CODEC_ID_NONE is returned; * otherwise, the codec id is returned */ -enum CodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type); +enum CodecID ff_rtp_codec_id(const char *buf, enum AVMediaType codec_type); #define RTP_PT_PRIVATE 96 #define RTP_VERSION 2