From 37140ebd87f549eae86a5b548d717a1e97203dd6 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 19 May 2020 12:09:48 +0200 Subject: avformat/id3v2: Remove unnecessary indirection ff_id3v2_parse_apic/chapters/priv/priv_dict all had a parameter extra_meta of type ID3v2ExtraMeta ** as if the functions wanted to make *extra_meta point to something else. But they don't, so just use an ID3v2ExtraMeta *. Signed-off-by: Andreas Rheinhardt --- libavformat/omadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/omadec.c') diff --git a/libavformat/omadec.c b/libavformat/omadec.c index 79896bdf4f..c6b3f8bc2f 100644 --- a/libavformat/omadec.c +++ b/libavformat/omadec.c @@ -396,7 +396,7 @@ static int oma_read_header(AVFormatContext *s) OMAContext *oc = s->priv_data; ff_id3v2_read(s, ID3v2_EA3_MAGIC, &extra_meta, 0); - if ((ret = ff_id3v2_parse_chapters(s, &extra_meta)) < 0) { + if ((ret = ff_id3v2_parse_chapters(s, extra_meta)) < 0) { ff_id3v2_free_extra_meta(&extra_meta); return ret; } -- cgit v1.2.3