diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-07-12 23:23:42 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-07-12 23:23:42 +0100 |
commit | 2a098ef45454992ce2681cfe5eb9c1690c17e4cc (patch) | |
tree | 78bae5cb244ac8f680b9d93d2abfa6b7a5147f62 | |
parent | 74a89aa56a2339eff12aef13330c9a43850de5d1 (diff) | |
download | xine-lib-2a098ef45454992ce2681cfe5eb9c1690c17e4cc.tar.gz xine-lib-2a098ef45454992ce2681cfe5eb9c1690c17e4cc.tar.bz2 |
Fix a logic error which can cause misidentification as DV.
-rw-r--r-- | src/demuxers/demux_rawdv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_rawdv.c b/src/demuxers/demux_rawdv.c index 17dd52225..86f777ec6 100644 --- a/src/demuxers/demux_rawdv.c +++ b/src/demuxers/demux_rawdv.c @@ -374,7 +374,7 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen, xine_stream_t *str } /* DIF (DV) movie file */ - if (memcmp(buf, "\x1F\x07\x00", 3) != 0 && !(buf[4] ^ 0x01)) { + if (memcmp(buf, "\x1F\x07\x00", 3) != 0 || !(buf[4] ^ 0x01)) { free (this); return NULL; } |