mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avformat/mp3dec: Simplify checking for no-metadata
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
6d1e792980
commit
8ab5bf512a
@ -384,7 +384,7 @@ static int mp3_read_header(AVFormatContext *s)
|
||||
ffiocontext(s->pb)->maxsize = -1;
|
||||
off = avio_tell(s->pb);
|
||||
|
||||
if (!av_dict_get(s->metadata, "", NULL, AV_DICT_IGNORE_SUFFIX))
|
||||
if (!av_dict_count(s->metadata))
|
||||
ff_id3v1_read(s);
|
||||
|
||||
if (s->pb->seekable & AVIO_SEEKABLE_NORMAL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user