summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaut Mattern <thibaut.mattern@gmail.com>2008-02-15 09:33:51 +0100
committerThibaut Mattern <thibaut.mattern@gmail.com>2008-02-15 09:33:51 +0100
commit977484032ff46573c8d3bf39de73cff4304b7a80 (patch)
tree60622c90f4e66ed372caaf9870395471093e5133
parent82525c0275a04d84d2d577a5d7411d3e55eea8c6 (diff)
downloadxine-lib-977484032ff46573c8d3bf39de73cff4304b7a80.tar.gz
xine-lib-977484032ff46573c8d3bf39de73cff4304b7a80.tar.bz2
Fixed endianess problem.
This should allow big ID3v2 tag to be parsed (i mean tags with embedded pictures).
-rw-r--r--src/demuxers/demux_mpgaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c
index dfb905520..6eb4ee622 100644
--- a/src/demuxers/demux_mpgaudio.c
+++ b/src/demuxers/demux_mpgaudio.c
@@ -725,8 +725,8 @@ static int demux_mpgaudio_next (demux_mpgaudio_t *this, int decoder_flags, int s
/* 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 */