aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/replaygain.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-24 14:03:55 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-24 14:03:55 +0100
commit83e89787984d3f96cb793ebfddc6078d6bc50073 (patch)
treebe7e09b4e106d85247a3650aa7ff578071482577 /libavformat/replaygain.h
parent595ba3b96258538566d6f42113dd0180aaee87c4 (diff)
parent5a7e35dd2351c30bab45177b9482cb8833a0ca78 (diff)
downloadandroid_external_ffmpeg-83e89787984d3f96cb793ebfddc6078d6bc50073.tar.gz
android_external_ffmpeg-83e89787984d3f96cb793ebfddc6078d6bc50073.tar.bz2
android_external_ffmpeg-83e89787984d3f96cb793ebfddc6078d6bc50073.zip
Merge commit '5a7e35dd2351c30bab45177b9482cb8833a0ca78'
* commit '5a7e35dd2351c30bab45177b9482cb8833a0ca78': Add replaygain side data type and code for parsing replaygain tags. Conflicts: libavcodec/avcodec.h libavcodec/version.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/replaygain.h')
-rw-r--r--libavformat/replaygain.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/libavformat/replaygain.h b/libavformat/replaygain.h
new file mode 100644
index 0000000000..15b0ebe2e5
--- /dev/null
+++ b/libavformat/replaygain.h
@@ -0,0 +1,31 @@
+/*
+ * 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 AVFORMAT_REPLAYGAIN_H
+#define AVFORMAT_REPLAYGAIN_H
+
+#include "libavutil/dict.h"
+
+#include "avformat.h"
+
+/**
+ * Parse replaygain tags and export them as per-stream side data.
+ */
+int ff_replaygain_export(AVStream *st, AVDictionary *metadata);
+
+#endif /* AVFORMAT_REPLAYGAIN_H */