Commit b73ad746 authored by Anton Khirnov's avatar Anton Khirnov

lavf: move CodecMime from matroska.h to internal.h

it will be useful for attached pictures in ID3v2
parent eaea76d7
...@@ -37,6 +37,11 @@ typedef struct AVCodecTag { ...@@ -37,6 +37,11 @@ typedef struct AVCodecTag {
unsigned int tag; unsigned int tag;
} AVCodecTag; } 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); void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem);
#ifdef __GNUC__ #ifdef __GNUC__
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
#include "metadata.h" #include "metadata.h"
#include "internal.h"
/* EBML version supported */ /* EBML version supported */
#define EBML_VERSION 1 #define EBML_VERSION 1
...@@ -245,11 +246,6 @@ typedef struct CodecTags{ ...@@ -245,11 +246,6 @@ typedef struct CodecTags{
enum CodecID id; enum CodecID id;
}CodecTags; }CodecTags;
typedef struct CodecMime{
char str[32];
enum CodecID id;
}CodecMime;
/* max. depth in the EBML tree structure */ /* max. depth in the EBML tree structure */
#define EBML_MAX_DEPTH 16 #define EBML_MAX_DEPTH 16
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment