video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-07-30 8fb24547e4d068cdcd491e59ddc451b3a252ea4b
csrc/cffmpeg.cpp
@@ -90,10 +90,10 @@
    s->BuildDecoder();
}
void* c_ffmpeg_get_pic_decoder(const cffmpeg h, int *wid, int *hei){
void* c_ffmpeg_get_pic_decoder(const cffmpeg h, int *wid, int *hei, int64_t *id){
    Wrapper *s = (Wrapper*)h;
    unsigned char *data = NULL;
    s->GetPicDecoder(&data, wid, hei);
    s->GetPicDecoder(&data, wid, hei, id);
    return data;
}