summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_aud.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_aud.c')
-rw-r--r--src/demuxers/demux_aud.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_aud.c b/src/demuxers/demux_aud.c
index b99c67806..7730de1fa 100644
--- a/src/demuxers/demux_aud.c
+++ b/src/demuxers/demux_aud.c
@@ -143,7 +143,7 @@ static int demux_aud_send_chunk(demux_plugin_t *this_gen) {
}
/* validate the chunk */
- if (_X_LE_32(&chunk_preamble[4]) != 0x0000DEAF) {
+ if (!_x_is_fourcc(&chunk_preamble[4], "\xAF\xDE\x00\x00")) {
this->status = DEMUX_FINISHED;
return this->status;
}