Searched refs:bytesRead (Results 1 – 1 of 1) sorted by relevance
165 size_t bytesRead; in AndroidBufferQueueCallback() local166 bytesRead = fread(pBufferData, 1, BUFFER_SIZE, file); in AndroidBufferQueueCallback()167 if (bytesRead > 0) { in AndroidBufferQueueCallback()168 if ((bytesRead % MPEG2_TS_PACKET_SIZE) != 0) { in AndroidBufferQueueCallback()171 size_t packetsRead = bytesRead / MPEG2_TS_PACKET_SIZE; in AndroidBufferQueueCallback()281 size_t bytesRead; in enqueueInitialBuffers() local282 bytesRead = fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file); in enqueueInitialBuffers()283 if (bytesRead <= 0) { in enqueueInitialBuffers()287 if ((bytesRead % MPEG2_TS_PACKET_SIZE) != 0) { in enqueueInitialBuffers()290 size_t packetsRead = bytesRead / MPEG2_TS_PACKET_SIZE; in enqueueInitialBuffers()