csrc/cffmpeg.cpp
@@ -43,6 +43,18 @@ s->GB28181(); } char * c_ffmpeg_get_gb28181_pic(const char *rtspUrl, int *retDataLen){ char * retData = (char *)malloc(sizeof(char) * 3000000); int flag = GetGb28181Pic(rtspUrl, retData, retDataLen); if(flag == -1){ free(retData); *retDataLen = 0; return NULL; } return retData; } void c_ffmepg_use_cpu(const cffmpeg h){ Wrapper *s = (Wrapper*)h; s->CPUDec();