aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-16 08:52:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-02-18 19:52:28 +0100
commit0ebf475494837edd07fa6f58c540364795f9551c (patch)
treef0cf751b28189bf3193af3f247f2696d38e71aa7 /libavformat/utils.c
parent09e22efc7e0d98a90e99c9c2047a203c89d9dcd9 (diff)
downloadffmpeg-0ebf475494837edd07fa6f58c540364795f9551c.tar.gz
lavf: add av_ prefix to dump_format()
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 610219a598095f938705f200dfe3946455ef871a)
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 73f26b39c2..1d746cb50e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3261,11 +3261,21 @@ static void dump_stream_format(AVFormatContext *ic, int i, int index, int is_out
dump_metadata(NULL, st->metadata, " ");
}
+#if FF_API_DUMP_FORMAT
void dump_format(AVFormatContext *ic,
int index,
const char *url,
int is_output)
{
+ av_dump_format(ic, index, url, is_output);
+}
+#endif
+
+void av_dump_format(AVFormatContext *ic,
+ int index,
+ const char *url,
+ int is_output)
+{
int i;
uint8_t *printed = av_mallocz(ic->nb_streams);
if (ic->nb_streams && !printed)