Module Name: src Committed By: mrg Date: Mon Mar 11 23:12:29 UTC 2024
Modified Files:
src/usr.bin/audio/common: wav.c
Log Message:
minor clean up in the RIFF/WAVE header checking.
use memcmp() not strncmp() to check for "RIFF" and "WAVE".
avoid endian convesion on part.len 3 times.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/audio/common/wav.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
