diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-19 12:09:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-25 07:06:44 +0200 |
commit | 37140ebd87f549eae86a5b548d717a1e97203dd6 (patch) | |
tree | 7ebea45bb853a6c4d33ecbff2c59f84fb95dcf97 /libavformat/omadec.c | |
parent | f08853b284514820d42f81999f4adb09ff5d95b4 (diff) | |
download | ffmpeg-37140ebd87f549eae86a5b548d717a1e97203dd6.tar.gz |
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 <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/omadec.c')
-rw-r--r-- | libavformat/omadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |