riff: check for eof if chunk size and code are 0