changeset 11561:dcf8221ed29f libavcodec

Move AVMediaType from libavcodec to libavutil. This allows applications/libraries which require that symbol (e.g. libavfilter) to be compiled without to depend on the presence of libavcodec/avcodec.h, which may not be installed.
author stefano
date Tue, 30 Mar 2010 23:31:16 +0000
parents 8a4984c5cacc
children 66f3d2ff88b7
files avcodec.h
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Tue Mar 30 23:30:55 2010 +0000
+++ b/avcodec.h	Tue Mar 30 23:31:16 2010 +0000
@@ -355,16 +355,6 @@
                                 * stream (only used by libavformat) */
 };
 
-enum AVMediaType {
-    AVMEDIA_TYPE_UNKNOWN = -1,
-    AVMEDIA_TYPE_VIDEO,
-    AVMEDIA_TYPE_AUDIO,
-    AVMEDIA_TYPE_DATA,
-    AVMEDIA_TYPE_SUBTITLE,
-    AVMEDIA_TYPE_ATTACHMENT,
-    AVMEDIA_TYPE_NB
-};
-
 #if LIBAVCODEC_VERSION_MAJOR < 53
 #define CodecType AVMediaType