Skip to content

Commit 03ba7e5

Browse files
authored
Add UFF file format support in registry.jl
1 parent ae0c39f commit 03ba7e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/registry.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const idVideoIO = :VideoIO => UUID("d6d074c3-1acf-5d4c-9a43-ef38773959a2")
1616
const idLibSndFile = :LibSndFile => UUID("b13ce0c6-77b0-50c6-a2db-140568b8d1a5")
1717
const idJpegTurbo = :JpegTurbo => UUID("b835a17e-a41a-41e7-81f0-2f016b05efe0")
1818
const idNPZ = :NPZ => UUID("15e1cf62-19b3-5cfa-8e77-841668bca605")
19+
const idUFFFiles = :UFFFiles => UUID("20c5726e-8372-4c34-be2c-190a5a70d483")
1920

2021
# Cf. https://developers.google.com/speed/webp/docs/riff_container#riff_file_format, and https://learn.microsoft.com/en-us/windows/win32/xaudio2/resource-interchange-file-format--riff-#chunks
2122
function detect_riff(io::IO, expected_magic::AbstractVector{UInt8})
@@ -566,3 +567,6 @@ add_format(format"HOA", UInt8[0x48,0x4f,0x41,0x3a], ".hoa", [:Buchi => UUID("484
566567
# GOAL http://goal.im.ntu.edu.tw/wiki/doku.php
567568
# ROLL https://iscasmc.ios.ac.cn/roll/doku.php?id=start
568569
add_format(format"BA", (), ".ba", [:Buchi => UUID("484f28d2-1a9e-4e02-bb9b-910131567e8f")])
570+
571+
# UFF (Universal File Format) files
572+
add_format(format"UFF", (), [".uff", ".unv"], [idUFFFiles])

0 commit comments

Comments
 (0)