Change-Id: Ia774e77708e947adbf8fb04065acc6efbbba5132
{
FILE *fd_src = NULL;
FILE *fd_dest = NULL;
{
FILE *fd_src = NULL;
FILE *fd_dest = NULL;
- unsigned int pos = 0;
- char file_path[MAX_PATH];
- const char *filename = NULL;
unsigned imageSz = 0;
const unsigned BufSz = ITEM_READ_BUF_SZ;
char* itemBuf = NULL;
unsigned imageSz = 0;
const unsigned BufSz = ITEM_READ_BUF_SZ;
char* itemBuf = NULL;
}
imageSz += HeadLen; //Increase imageSz after pack each item
AmlResItemHead_t* pItemHeadInfo = (AmlResItemHead_t*)(aAmlResImgHead + 1);
}
imageSz += HeadLen; //Increase imageSz after pack each item
AmlResItemHead_t* pItemHeadInfo = (AmlResItemHead_t*)(aAmlResImgHead + 1);
- AmlResItemHead_t* const pFirstItemHeadInfo = pItemHeadInfo;
debugP("item num %d\n", totalItemNum);
//for each loop: first create item header and pack it, second pack the item data
debugP("item num %d\n", totalItemNum);
//for each loop: first create item header and pack it, second pack the item data
int main(int argc, const char ** const argv)
{
int ret = 0;
int main(int argc, const char ** const argv)
{
int ret = 0;
const char* opt = argv[1];
if(argc < 3) {
const char* opt = argv[1];
if(argc < 3) {