Silly jat, don't use newMpdTag as a variable name!
git-svn-id: https://svn.musicpd.org/mpd/trunk@4279 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
c6dbba6c5d
commit
fd6696e46a
@ -260,7 +260,7 @@ static void mp3_parseId3Tag(mp3DecodeData * data, signed long tagsize, MpdTag **
|
|||||||
id3_length_t count;
|
id3_length_t count;
|
||||||
id3_byte_t const *id3_data;
|
id3_byte_t const *id3_data;
|
||||||
id3_byte_t * allocated = NULL;
|
id3_byte_t * allocated = NULL;
|
||||||
MpdTag * newMpdTag;
|
MpdTag * tmpMpdTag;
|
||||||
|
|
||||||
count = data->stream.bufend - data->stream.this_frame;
|
count = data->stream.bufend - data->stream.this_frame;
|
||||||
|
|
||||||
@ -300,10 +300,10 @@ static void mp3_parseId3Tag(mp3DecodeData * data, signed long tagsize, MpdTag **
|
|||||||
if(!id3Tag) goto fail;
|
if(!id3Tag) goto fail;
|
||||||
|
|
||||||
if(mpdTag) {
|
if(mpdTag) {
|
||||||
newMpdTag = parseId3Tag(id3Tag);
|
tmpMpdTag = parseId3Tag(id3Tag);
|
||||||
if(newMpdTag) {
|
if(tmpMpdTag) {
|
||||||
if(*mpdTag) freeMpdTag(*mpdTag);
|
if(*mpdTag) freeMpdTag(*mpdTag);
|
||||||
*mpdTag = newMpdTag;
|
*mpdTag = tmpMpdTag;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user