zhifu gao
2023-04-29 635496708826c5a77110d83d5e7e03f6e6354c72
funasr/runtime/onnxruntime/src/audio.cpp
@@ -380,8 +380,10 @@
    FILE* fp;
    fp = fopen(filename, "rb");
    if (fp == nullptr)
   {
        LOG(ERROR) << "Failed to read " << filename;
        return false;
   }
    fseek(fp, 0, SEEK_END);
    uint32_t n_file_len = ftell(fp);
    fseek(fp, 0, SEEK_SET);
@@ -517,4 +519,4 @@
        frame_queue.push(frame);
        frame = NULL;
    }
}
}