diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-13 22:20:44 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-13 22:20:44 +0100 |
commit | 42d23a86ff422f650b16ec786f5e96b126ec680a (patch) | |
tree | 991158f109e0ac97adbe7510529e535fc06234f4 /src/demuxers/demux_flv.c | |
parent | 44234828cf17a0a302975dc3f5f8b671f86a8ac2 (diff) | |
parent | fc2fa145300536b0a19f878212912e9b2d5b57a1 (diff) | |
download | xine-lib-last-internal-ffmpeg.tar.gz xine-lib-last-internal-ffmpeg.tar.bz2 |
Merge changes from 1.2 main.last-internal-ffmpeg
Diffstat (limited to 'src/demuxers/demux_flv.c')
-rw-r--r-- | src/demuxers/demux_flv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/demuxers/demux_flv.c b/src/demuxers/demux_flv.c index 99c861e0d..f0b29532b 100644 --- a/src/demuxers/demux_flv.c +++ b/src/demuxers/demux_flv.c @@ -684,8 +684,7 @@ static void seek_flv_file(demux_flv_t *this, off_t seek_pos, int seek_pts) { return; } /* check StreamID and CodecID */ - if (buf[0] == 0 && buf[1] == 0 && buf[2] == 0 && - buf[3] == (this->videocodec | 0x10)) { + if ( _X_ME_32(buf) == ME_FOURCC(0, 0, 0, (this->videocodec | 0x10)) ) { this->input->seek(this->input, -16, SEEK_CUR); lprintf(" ...resynced after %d bytes\n", i); return; |