--- ImageOutputDev.cc.old 2007-11-16 09:41:21.000000000 +0100 +++ ImageOutputDev.cc 2011-09-27 05:41:39.558203812 +0200 @@ -56,7 +56,7 @@ } // initialize stream - str = ((DCTStream *)str)->getRawStream(); + str = str->getNextStream(); str->reset(); // copy the stream @@ -120,7 +120,7 @@ } // initialize stream - str = ((DCTStream *)str)->getRawStream(); + str = str->getNextStream(); str->reset(); // copy the stream