video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-11-19 f238d052479dbbe0a8d97e231ff74984bf748903
libcffmpeg.c
@@ -177,7 +177,7 @@
    
    uint8_t *out = NULL;
    const int flag = fn_encode(hdl, (uint8_t*)in, w, h, &out, out_size, key);
    if (flag > 0 && out != NULL) {
    if (flag == 0 && out != NULL) {
        return out;
    }
    *out_size = 0;