From 4f737a182caee1d44af21033e91e43bd9ed031ff Mon Sep 17 00:00:00 2001 From: zial Date: Sun, 28 Jun 2026 13:53:03 -0400 Subject: [PATCH] Fix ocioconvert invalid bidepth handling Signed-off-by: zial --- src/apps/ocioconvert/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/ocioconvert/main.cpp b/src/apps/ocioconvert/main.cpp index 165aefc4a..92bf188ac 100644 --- a/src/apps/ocioconvert/main.cpp +++ b/src/apps/ocioconvert/main.cpp @@ -141,7 +141,9 @@ int main(int argc, const char **argv) } else { - throw OCIO::Exception("Unsupported output bitdepth, must be uint8, uint16, half or float."); + std::cerr << "ERROR: Unsupported output bitdepth, must be uint8, uint16, half or float." << std::endl; + ap.usage(); + exit(1); } }