Måns Rullgård <[email protected]> writes: > Anton Khirnov <[email protected]> writes: > >> it will be useful for attached pictures in ID3v2 >> --- >> libavformat/internal.h | 5 +++++ >> libavformat/matroska.c | 2 +- >> libavformat/matroska.h | 8 ++------ >> 3 files changed, 8 insertions(+), 7 deletions(-) >> >> diff --git a/libavformat/internal.h b/libavformat/internal.h >> index fb29853..f512c94 100644 >> --- a/libavformat/internal.h >> +++ b/libavformat/internal.h >> @@ -37,6 +37,11 @@ typedef struct AVCodecTag { >> unsigned int tag; >> } AVCodecTag; >> >> +typedef struct FFCodecMime{ >> + char str[32]; >> + enum CodecID id; >> +} FFCodecMime; >> + >> void ff_dynarray_add(intptr_t **tab_ptr, int *nb_ptr, intptr_t elem); >> >> #ifdef __GNUC__ >> diff --git a/libavformat/matroska.c b/libavformat/matroska.c >> index b448af2..1b93830 100644 >> --- a/libavformat/matroska.c >> +++ b/libavformat/matroska.c >> @@ -82,7 +82,7 @@ const CodecTags ff_mkv_codec_tags[]={ >> {"" , CODEC_ID_NONE} >> }; >> >> -const CodecMime ff_mkv_mime_tags[] = { >> +const FFCodecMime ff_mkv_mime_tags[] = { > > If you intend to use this elsewhere, it should not be defined in > matroska.c.
Never mind, I see what you're doing. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
