aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffmpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffmpeg.h')
-rw-r--r--src/ffmpeg.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ffmpeg.h b/src/ffmpeg.h
index ea1f3c6..6fa4007 100644
--- a/src/ffmpeg.h
+++ b/src/ffmpeg.h
@@ -7,7 +7,8 @@
#include <raylib.h>
-// stolen code: https://github.com/tsoding/musializer/blob/master/src/ffmpeg_posix.c
+// stolen code:
+// https://github.com/tsoding/musializer/blob/master/src/ffmpeg_posix.c
#ifndef FFMPEG_H
#define FFMPEG_H
@@ -20,8 +21,10 @@ typedef struct FFMPEG {
pid_t pid;
} FFMPEG;
-FFMPEG* ffmpegStart(const char* filename, uint32_t width, uint32_t height, uint32_t fps);
-int ffmpegSendFrame(FFMPEG* ffmpeg, void* data, uint32_t width, uint32_t height);
+FFMPEG* ffmpegStart(const char* filename, uint32_t width, uint32_t height,
+ uint32_t fps);
+int ffmpegSendFrame(FFMPEG* ffmpeg, void* data, uint32_t width, uint32_t
+ height);
int ffmpegEnd(FFMPEG* ffmpeg, bool cancel);
#endif