Pasted as C++ [Remove this paste ] |
Description: No description |
URL: http://bcas.tv/paste/results/Pe2f1A44.html |
1 2 3 4 5 6 7 8 9 10 11 |
if (pInfo->DivisionIndex < 2) { uint8_t hdr[4]; hdr[0] = 0; hdr[1] = 0; hdr[2] = 0; hdr[3] = 1; fwrite(hdr, 1, 4, fp); fwrite(pInfo->pPayload + 4, 1, pInfo->Length - 4, fp); } else { fwrite(pInfo->pPayload, 1, pInfo->Length, fp); } |