Vdec_ReturnType vdec_flush(struct VDecoder* dec, int *nFlushedFrames) { QTV_MSG_PRIO(QTVDIAG_GENERAL,QTVDIAG_PRIO_LOW,"vdec: flush \n"); VideoDecoder* pDec = (VideoDecoder*)(dec->core); if(!pDec) return VDEC_EFAILED; pDec->Flush( nFlushedFrames ); return VDEC_SUCCESS; }