From 2d2f143d248ef9f173f711108feb770efdfe7d21 Mon Sep 17 00:00:00 2001 From: nathansmith Date: Fri, 2 May 2025 19:46:21 -0600 Subject: Shorter lines --- src/ffmpeg.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/ffmpeg.h') 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 -// 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 -- cgit v1.2.3