Mercurial > libavformat.hg
diff rtpdec.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 | 484fceabfad2 |
children | bd378c64a9f5 |
line wrap: on
line diff
--- a/rtpdec.h Tue Mar 30 15:50:57 2010 +0000 +++ b/rtpdec.h Tue Mar 30 23:30:55 2010 +0000 @@ -132,7 +132,7 @@ struct RTPDynamicProtocolHandler_s { // fields from AVRtpDynamicPayloadType_s const char enc_name[50]; /* XXX: still why 50 ? ;-) */ - enum CodecType codec_type; + enum AVMediaType codec_type; enum CodecID codec_id; // may be null