cf_make_video_from_memory¶
Category: video
GitHub: cute_video.h
Opens a video already in memory.
| Parameters | Description |
|---|---|
data |
The file's bytes, .mp4 or raw .h264. |
size |
How many bytes data holds. |
Return Value¶
Returns the video, or NULL on failure -- call cf_video_error for the reason.
Remarks¶
The bytes are copied, so the caller's buffer may be freed immediately.