From: Thibaut M. <thi...@gm...> - 2008-02-15 08:34:16
|
# HG changeset patch # User Thibaut Mattern <thi...@gm...> # Date 1203064431 -3600 # Node ID ebb0d5507d3208f8e73af78f912230719d37830a # Parent 4843103240d4fc85d31bd210194a98c1e1bdbd7a Fixed endianess problem. This should allow big ID3v2 tag to be parsed (i mean tags with embedded pictures). diff -r ebb0d5507d3208f8e73af78f912230719d37830a -r 4843103240d4fc85d31bd210194a98c1e1bdbd7a src/demuxers/demux_mpgaudio.c --- a/src/demuxers/demux_mpgaudio.c Fri Feb 15 09:33:51 2008 +0100 +++ b/src/demuxers/demux_mpgaudio.c Thu Feb 14 21:16:43 2008 +0100 @@ -725,8 +725,8 @@ static int demux_mpgaudio_next (demux_mp /* the stream is broken, don't keep info about previous frames */ this->free_bitrate_size = 0; - if ( id3v2_istag(header) ) { - if (!id3v2_parse_tag(this->input, this->stream, header)) { + if ( id3v2_istag(_X_ME_32(header)) ) { + if (!id3v2_parse_tag(this->input, this->stream, _X_ME_32(header))) { xprintf(this->stream->xine, XINE_VERBOSITY_LOG, LOG_MODULE ": ID3V2 tag parsing error\n"); bytes = 1; /* resync */ |