summaryrefslogtreecommitdiff
path: root/libavcodec/metadata.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-01-04 18:48:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-01-04 18:48:37 +0000
commit47146dfbf6bca94dd0706b4313cc5e26edaf18d4 (patch)
treeba7242f58b79aadcd06267356a5fdc5b08e17130 /libavcodec/metadata.h
parent045cbba92dad0728d9c277a6588a6c3e114f3917 (diff)
Generic metadata API.
avi is updated as example. No version bump, the API still might change slightly ... No update to ffmpeg.c as requested by aurel. Originally committed as revision 16424 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/metadata.h')
-rw-r--r--libavcodec/metadata.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/libavcodec/metadata.h b/libavcodec/metadata.h
new file mode 100644
index 0000000000..0ab39cba26
--- /dev/null
+++ b/libavcodec/metadata.h
@@ -0,0 +1,38 @@
+/*
+ * copyright (c) 2009 Michael Niedermayer
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_METADATA_H
+#define AVCODEC_METADATA_H
+
+/**
+ * @file metadata.h
+ * internal metadata API header
+ * see avcodec.h or the public API!
+ */
+
+
+#include "avcodec.h"
+
+struct AVMetaData{
+ int count;
+ AVMetaDataTag *elems;
+};
+
+#endif /* AVCODEC_METADATA_H */