lavf: move CodecMime from matroska.h to internal.h
authorAnton Khirnov <anton@khirnov.net>
Wed, 19 Jan 2011 09:21:29 +0000 (10:21 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 29 Feb 2012 12:57:59 +0000 (13:57 +0100)
it will be useful for attached pictures in ID3v2

libavformat/internal.h
libavformat/matroska.h

index fb29853..c30deb7 100644 (file)
@@ -37,6 +37,11 @@ typedef struct AVCodecTag {
     unsigned int tag;
 } AVCodecTag;
 
+typedef struct CodecMime{
+    char str[32];
+    enum CodecID id;
+} CodecMime;
+
 void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem);
 
 #ifdef __GNUC__
index 8e747e6..ada735f 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "libavcodec/avcodec.h"
 #include "metadata.h"
+#include "internal.h"
 
 /* EBML version supported */
 #define EBML_VERSION 1
@@ -245,11 +246,6 @@ typedef struct CodecTags{
     enum CodecID id;
 }CodecTags;
 
-typedef struct CodecMime{
-    char str[32];
-    enum CodecID id;
-}CodecMime;
-
 /* max. depth in the EBML tree structure */
 #define EBML_MAX_DEPTH 16