diff options
author | nathansmith <nathansmith@posteo.com> | 2025-05-03 01:46:21 +0000 |
---|---|---|
committer | nathansmith <nathansmith@posteo.com> | 2025-05-03 01:46:21 +0000 |
commit | 2d2f143d248ef9f173f711108feb770efdfe7d21 (patch) | |
tree | c82af5d97f4d4594f2630eabe9b31cec935ebf50 /src/ffmpeg.h | |
parent | ffd314a245632a85ba5f310e8d86937091886d4d (diff) | |
download | sldj-2d2f143d248ef9f173f711108feb770efdfe7d21.tar.gz sldj-2d2f143d248ef9f173f711108feb770efdfe7d21.tar.bz2 sldj-2d2f143d248ef9f173f711108feb770efdfe7d21.zip |
Shorter lines
Diffstat (limited to 'src/ffmpeg.h')
-rw-r--r-- | src/ffmpeg.h | 9 |
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 |