diff avformat.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 b8041f85c327
children ae90b07a6f29
line wrap: on
line diff
--- a/avformat.h	Tue Mar 30 15:50:57 2010 +0000
+++ b/avformat.h	Tue Mar 30 23:30:55 2010 +0000
@@ -804,7 +804,7 @@
  */
 enum CodecID av_guess_codec(AVOutputFormat *fmt, const char *short_name,
                             const char *filename, const char *mime_type,
-                            enum CodecType type);
+                            enum AVMediaType type);
 
 /**
  * Sends a nice hexadecimal dump of a buffer to the specified file stream.