aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/id3v2.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-25 09:53:59 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-29 14:19:42 +0100
commit393fd0d89e6d0a1cf5bd39f309f6f10e0f1f8ac7 (patch)
tree4b710cf02947d76a14121f8e52472bdaebb95151 /libavformat/id3v2.c
parent079ea6ca5f8f108ec328d3c2c1792e676fc30b9c (diff)
downloadffmpeg-393fd0d89e6d0a1cf5bd39f309f6f10e0f1f8ac7.tar.gz
id3v2: remove unused ff_id3v2_read().
Rename ff_id3v2_read_all to ff_id3v2_read().
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r--libavformat/id3v2.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 4170c853a6..1f2c3d5437 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -653,7 +653,7 @@ seek:
return;
}
-void ff_id3v2_read_all(AVFormatContext *s, const char *magic, ID3v2ExtraMeta **extra_meta)
+void ff_id3v2_read(AVFormatContext *s, const char *magic, ID3v2ExtraMeta **extra_meta)
{
int len, ret;
uint8_t buf[ID3v2_HEADER_SIZE];
@@ -684,11 +684,6 @@ void ff_id3v2_read_all(AVFormatContext *s, const char *magic, ID3v2ExtraMeta **e
merge_date(&s->metadata);
}
-void ff_id3v2_read(AVFormatContext *s, const char *magic)
-{
- ff_id3v2_read_all(s, magic, NULL);
-}
-
void ff_id3v2_free_extra_meta(ID3v2ExtraMeta **extra_meta)
{
ID3v2ExtraMeta *current = *extra_meta, *next;