idec: add some missing casts

Change-Id: I021a014f1f3a597f37ba8d9f4006c8cb4100723c
This commit is contained in:
James Zern 2013-11-25 20:47:35 -08:00
parent b524e3369c
commit 46db286572

View File

@ -619,11 +619,11 @@ void WebPIDelete(WebPIDecoder* idec) {
if (!idec->is_lossless_) {
if (idec->state_ == STATE_VP8_DATA) {
// Synchronize the thread, clean-up and check for errors.
VP8ExitCritical(idec->dec_, &idec->io_);
VP8ExitCritical((VP8Decoder*)idec->dec_, &idec->io_);
}
VP8Delete(idec->dec_);
VP8Delete((VP8Decoder*)idec->dec_);
} else {
VP8LDelete(idec->dec_);
VP8LDelete((VP8LDecoder*)idec->dec_);
}
}
ClearMemBuffer(&idec->mem_);