id3v2: strip trailing spaces from APIC tag
authorwm4 <nfxjfg@googlemail.com>
Thu, 7 May 2015 21:56:37 +0000 (23:56 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 18 Jun 2015 17:15:49 +0000 (19:15 +0200)
commitd4007d176313f6fe08c4fd2e484495f55e280c2a
treedab9f46dae400a61482c6fce3f761b067e772cd4
parent622f1468c92cb399e824894aa456d5590da6cc56
id3v2: strip trailing spaces from APIC tag

The APIC description must be unique, and some ID3v2 tag writers add
spaces to write several APIC entries with the same description. The
trailing spaces simply serve as a way to disambiguate the description.
Do this so that API users do not have to special-case mp3 to fix this
cosmetic issue.

Requested-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/id3v2.c