Reads a single chunk.
element |
caller element (used for debugging). |
buf |
input buffer. |
offset |
offset in the buffer in the caller. Is incremented by the read size by this function. |
fourcc |
fourcc (returned by this function0 of the chunk. |
chunk_data |
buffer (returned by the function) containing the chunk data, which may be NULL if chunksize == 0 |
FALSE on error, TRUE otherwise |