summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-08-27 23:43:28 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-08-27 23:43:28 +0000
commitf1c80e35783e910f5fe5ce643645029a7e517c8f (patch)
treec9ca090aeb778a68a8f36e9428e238a5c4a1e666 /libavformat/internal.h
parentaec0407fafe831c8a72289576fb5f37ee44f52f6 (diff)
Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
move it from sdp.c into utils.c. Also add new header internal.h specifically for lavf-specific internal API. See discussion in "Realmedia patch" thread on mailinglist. Originally committed as revision 15002 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
new file mode 100644
index 0000000000..a380ecefda
--- /dev/null
+++ b/libavformat/internal.h
@@ -0,0 +1,26 @@
+/*
+ * copyright (c) 2001 Fabrice Bellard
+ *
+ * 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 FFMPEG_AVFORMAT_UTILS_H
+#define FFMPEG_AVFORMAT_UTILS_H
+
+char *ff_data_to_hex(char *buf, const uint8_t *src, int size);
+
+#endif /* FFMPEG_AVFORMAT_UTILS_H */