diff options
| author | dec05eba <dec05eba@protonmail.com> | 2026-08-01 23:41:07 +0200 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2026-08-01 23:41:07 +0200 |
| commit | 8f97b0b422820fd2ac0162aa12cdbf14150f1a11 (patch) | |
| tree | 1302cfc441cdf8f2c82f09251b8b89e0f0a3778a /src/recorder | |
| parent | b9ab1878ca353f672593f6fa9d698567c4f41370 (diff) | |
Remove unused includes
Most were left over from moving code out of main.cpp and from replacing
fprintf with gsr_log. Also fixes building without the app_audio option.
Diffstat (limited to 'src/recorder')
| -rw-r--r-- | src/recorder/audio_codec.c | 1 | ||||
| -rw-r--r-- | src/recorder/codec_select.c | 1 | ||||
| -rw-r--r-- | src/recorder/recording_clock.c | 1 | ||||
| -rw-r--r-- | src/recorder/video_codec.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/src/recorder/audio_codec.c b/src/recorder/audio_codec.c index 1b2d6db..e8f89e7 100644 --- a/src/recorder/audio_codec.c +++ b/src/recorder/audio_codec.c @@ -4,7 +4,6 @@ #include <assert.h> #include <math.h> -#include <stdio.h> #include <libavutil/opt.h> diff --git a/src/recorder/codec_select.c b/src/recorder/codec_select.c index d3286ec..48af0b2 100644 --- a/src/recorder/codec_select.c +++ b/src/recorder/codec_select.c @@ -12,7 +12,6 @@ #include <libavformat/avformat.h> #include <string.h> -#include <assert.h> gsr_video_encoder* create_video_encoder(gsr_egl *egl, const gsr_recorder_settings *settings) { const gsr_color_depth color_depth = video_codec_to_bit_depth(settings->video_codec); diff --git a/src/recorder/recording_clock.c b/src/recorder/recording_clock.c index cb23d56..5c9aabb 100644 --- a/src/recorder/recording_clock.c +++ b/src/recorder/recording_clock.c @@ -3,7 +3,6 @@ #include "../../include/log.h" #include <stdlib.h> -#include <string.h> #include <stdatomic.h> struct gsr_recording_clock { diff --git a/src/recorder/video_codec.c b/src/recorder/video_codec.c index 1713e77..a21e4ec 100644 --- a/src/recorder/video_codec.c +++ b/src/recorder/video_codec.c @@ -3,7 +3,6 @@ #include "../../include/log.h" #include <assert.h> -#include <math.h> #include <libavutil/opt.h> |
