video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-09-25 1d2e7ce97e33c74a949d443a226df531fbf5c7dd
csrc/cffmpeg.cpp
@@ -103,12 +103,8 @@
}
/////////////////////test
void* c_ffmpeg_decode_jpeg(const char *file, int *wid, int *hei){
    uint8_t *p = DecodeJPEG(file, wid, hei);
    if(!p){
        *wid = *hei = 0;
    }
    return p;
void* c_ffmpeg_decode(const char *file, const int gb, int *wid, int *hei){
    return Decode(file, gb, wid, hei);
}
// pic encoder