Only read ID3v1 tag if ID3v2 isn't present or is empty.
authorAnton Khirnov <wyskas@gmail.com>
Mon, 5 Oct 2009 21:36:56 +0000 (21:36 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 5 Oct 2009 21:36:56 +0000 (21:36 +0000)
commit7fd5aeb3e57389198681a8ab2d5cd5d83a0c5a5f
treee486b0148fa76c0573a76e6318041cea47053348
parent9a9964c50ed85a0bf8d8ab384801d4ea07017f76
Only read ID3v1 tag if ID3v2 isn't present or is empty.
This prevents the demuxer from exporting multiple semantically identical but
differently named tags.

Patch by Anton Khirnov, wyskas gmail

Originally committed as revision 20175 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mp3.c