rockbox/lib/rbcodec/metadata
Dominik Riebeling b6ddbc41a5 Fix id3v2 album art if more than one image is present.
Rockbox only uses the first album art image (APIC / PIC frame) found in id3v2
tags. When a file contains more than one image the second one is ignored but
the parsealbumart() callback overwrites the already set data. This causes the
metadata structure to contain an invalid pointer to the image data, resulting
in no image shown.

Make parsealbumart() aware of this and skip parsing when an albumart image has
already been found. Fixes FS#12870.

Change-Id: Id8164f319cd5e1ee868b581f8f4ad3ea69c17f77
2013-06-15 21:04:13 +02:00
..
a52.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
adx.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
aiff.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
ape.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
asap.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
asf.c Support technically invalid image/jpg mimetype in tags. 2012-09-29 15:39:55 +02:00
au.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
ay.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
flac.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
gbs.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
hes.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
id3tags.c Fix id3v2 album art if more than one image is present. 2013-06-15 21:04:13 +02:00
kss.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
metadata.c Initial opus codec support 2012-09-20 20:47:44 +02:00
metadata.h Initial opus codec support 2012-09-20 20:47:44 +02:00
metadata_common.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
metadata_common.h
metadata_parsers.h
mod.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
monkeys.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
mp3.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
mp3data.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
mp3data.h
mp4.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
mpc.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
nsf.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
ogg.c Initial opus codec support 2012-09-20 20:47:44 +02:00
oma.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
replaygain.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
replaygain.h
rm.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
sgc.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
sid.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
smaf.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
spc.c SPC Codec: Have metadata parser fill in frequency and bitrate. 2013-05-21 20:01:17 -04:00
tta.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
vgm.c VGM Codec: Improve time and fade behavior. Tweak minor misc. 2013-03-06 19:47:05 -05:00
vorbis.c Initial opus codec support 2012-09-20 20:47:44 +02:00
vox.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
wave.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00
wavpack.c Add rbcodecplatform.h and rbcodecconfig.h. 2012-05-03 14:49:35 +02:00