Subversion Repositories filter_foundry

Rev

Rev 276 | Rev 366 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 276 Rev 292
Line 77... Line 77...
77
                        gdata->parmloaded = false;
77
                        gdata->parmloaded = false;
78
                        gdata->obfusc = false;
78
                        gdata->obfusc = false;
79
                        // then try plugin formats (Mac first, then Windows .8bf or .prm DLL)
79
                        // then try plugin formats (Mac first, then Windows .8bf or .prm DLL)
80
                }else if( (readok = readmacplugin(sfr,reason) || read8bfplugin(sfr,reason)) ){
80
                }else if( (readok = readmacplugin(sfr,reason) || read8bfplugin(sfr,reason)) ){
81
                        if ((gdata->parm.cbSize != PARM_SIZE) && (gdata->parm.cbSize != PARM_SIZE_PREMIERE) && (gdata->parm.cbSize != PARM_SIG_MAC)) {
81
                        if ((gdata->parm.cbSize != PARM_SIZE) && (gdata->parm.cbSize != PARM_SIZE_PREMIERE) && (gdata->parm.cbSize != PARM_SIG_MAC)) {
82
                                if (gdata->parm.unknown2 == 4) {
-
 
83
                                        // Obfuscation V4 is protected, because FF>=1.7.0.5 combines protection and obfuscation
-
 
84
                                        *reason = "The filter is protected.";
-
 
85
                                }
-
 
86
                                else {
-
 
87
                                        *reason = "Incompatible obfuscation.";
82
                                *reason = "Incompatible obfuscation.";
88
                                }
83
                                //gdata->parmloaded = false;
89
                                return false; // Stop! We know the issue now.
84
                                return false; // Stop! We know the issue now.
90
                        }else if(gdata->parm.iProtected){
85
                        }else if(gdata->parm.iProtected){
91
                                *reason = "The filter is protected.";
86
                                *reason = "The filter is protected.";
-
 
87
                                //gdata->parmloaded = false;
92
                                return false;
88
                                return false;
93
                        }else
89
                        }else
94
                                gdata->parmloaded = true;
90
                                gdata->parmloaded = true;
95
                }else
91
                }else
96
                        *reason = "It is not a text parameter (AFS) file, nor a standalone Mac/PC filter made by Filter Factory/Filter Foundry.";
92
                        *reason = "It is not a text parameter (AFS) file, nor a standalone Mac/PC filter made by Filter Factory/Filter Foundry.";