summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_vqa.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-04 15:42:48 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-04 15:42:48 +0200
commitf18dc23c1d5d3b947d43fe18b53d1a0ced918ad6 (patch)
tree8e60ffc15b40b9c730d74bb46caddab8865ab34a /src/demuxers/demux_vqa.c
parent9c387686faaecae77027f0df541ddaf66fb78897 (diff)
downloadxine-lib-f18dc23c1d5d3b947d43fe18b53d1a0ced918ad6.tar.gz
xine-lib-f18dc23c1d5d3b947d43fe18b53d1a0ced918ad6.tar.bz2
Use the new _x_is_fourcc() funtion to check for FOURCC tags in files.
--HG-- extra : transplant_source : %B5%96xd%99U%EC%7Cr%ABB%A8%26l%08%99L3o%F6
Diffstat (limited to 'src/demuxers/demux_vqa.c')
-rw-r--r--src/demuxers/demux_vqa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_vqa.c b/src/demuxers/demux_vqa.c
index ae0fd8231..5fb8273dd 100644
--- a/src/demuxers/demux_vqa.c
+++ b/src/demuxers/demux_vqa.c
@@ -96,8 +96,8 @@ static int open_vqa_file(demux_vqa_t *this) {
return 0;
/* check for the VQA signatures */
- if ((_X_BE_32(&scratch[0]) != FORM_TAG) ||
- (_X_BE_32(&scratch[8]) != WVQA_TAG))
+ if (!_x_is_fourcc(&scratch[0], "FORM") ||
+ !_x_is_fourcc(&scratch[8], "WVQA") )
return 0;
/* file is qualified; skip to the start of the VQA header */