it will be useful for attached pictures in ID3v2
| ... | ... |
@@ -37,6 +37,11 @@ typedef struct AVCodecTag {
|
| 37 | 37 |
unsigned int tag; |
| 38 | 38 |
} AVCodecTag; |
| 39 | 39 |
|
| 40 |
+typedef struct CodecMime{
|
|
| 41 |
+ char str[32]; |
|
| 42 |
+ enum CodecID id; |
|
| 43 |
+} CodecMime; |
|
| 44 |
+ |
|
| 40 | 45 |
void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem); |
| 41 | 46 |
|
| 42 | 47 |
#ifdef __GNUC__ |
| ... | ... |
@@ -24,6 +24,7 @@ |
| 24 | 24 |
|
| 25 | 25 |
#include "libavcodec/avcodec.h" |
| 26 | 26 |
#include "metadata.h" |
| 27 |
+#include "internal.h" |
|
| 27 | 28 |
|
| 28 | 29 |
/* EBML version supported */ |
| 29 | 30 |
#define EBML_VERSION 1 |
| ... | ... |
@@ -245,11 +246,6 @@ typedef struct CodecTags{
|
| 245 | 245 |
enum CodecID id; |
| 246 | 246 |
}CodecTags; |
| 247 | 247 |
|
| 248 |
-typedef struct CodecMime{
|
|
| 249 |
- char str[32]; |
|
| 250 |
- enum CodecID id; |
|
| 251 |
-}CodecMime; |
|
| 252 |
- |
|
| 253 | 248 |
/* max. depth in the EBML tree structure */ |
| 254 | 249 |
#define EBML_MAX_DEPTH 16 |
| 255 | 250 |
|