Fixed mistake made in threaded EXR commit.
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 3 Apr 2012 09:11:26 +0000 (09:11 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 3 Apr 2012 09:11:26 +0000 (09:11 +0000)
source/blender/imbuf/intern/filetype.c

index 74fd601e3f6452157dbbb6e25f2e0831b56ec29a..59c10165974a7bcade0a25242c333a1972febfb3 100644 (file)
@@ -77,10 +77,10 @@ ImFileType IMB_FILE_TYPES[]= {
        {NULL, NULL, imb_is_a_hdr, imb_ftype_default, imb_loadhdr, imb_savehdr, NULL, IM_FTYPE_FLOAT, RADHDR},
 #endif
 #ifdef WITH_OPENEXR
-       {NULL, NULL, imb_is_a_openexr, imb_ftype_default, imb_load_openexr, imb_save_openexr, NULL, IM_FTYPE_FLOAT, OPENEXR},
+       {imb_initopenexr, NULL, imb_is_a_openexr, imb_ftype_default, imb_load_openexr, imb_save_openexr, NULL, IM_FTYPE_FLOAT, OPENEXR},
 #endif
 #ifdef WITH_OPENJPEG
-       {imb_initopenexr, NULL, imb_is_a_jp2, imb_ftype_default, imb_jp2_decode, imb_savejp2, NULL, IM_FTYPE_FLOAT, JP2},
+       {NULL, NULL, imb_is_a_jp2, imb_ftype_default, imb_jp2_decode, imb_savejp2, NULL, IM_FTYPE_FLOAT, JP2},
 #endif
 #ifdef WITH_DDS
        {NULL, NULL, imb_is_a_dds, imb_ftype_default, imb_load_dds, NULL, NULL, 0, DDS},