Code: Select all
if(xfer == 12 || xfer == 11 || xfer == 24 || xfer == 19 || xfer == 20 || xfer == 21 || xfer == 22 || xfer == 23 || xfer == 25 || xfer == 26 || xfer == 30)
{
DJ_RPLossless params;
compressing = dataset->chooseRepresentation(xfer, ¶ms);
if(compressing != EC_Normal)
{
cout<<"Something wrong with compressing!\n";
}
}
// Still compression methods 28, 29, 31, 32, 33 not covered. Potential bug exists.
else if(xfer == 4 || xfer == 5 || xfer == 6 || xfer == 7 || xfer == 8 || xfer == 9 || xfer == 10 || xfer == 13 || xfer == 14 || xfer == 15 || xfer == 16 || xfer == 17 || xfer == 18 || xfer == 27)
{
DJ_RPLossy params;
compressing = dataset->chooseRepresentation(xfer, ¶ms);
if(compressing != EC_Normal)
{
cout<<"Something wrong with compressing!\n";
}
}
An image of the stack is given to show which files might be related.
Error pops in the
file in the following piece code at line 560dicoptx.h
FYI I'm making a GUI combining Qt and DCMTK. Almost everything is now fine except this occasional crash. Could you please give a hint what could be the problem? Thanks.