Fix a number of GCC warnings
This commit is contained in:
@@ -249,8 +249,9 @@ static void *enc_create(obs_data_t *settings, obs_encoder_t *encoder,
|
||||
}
|
||||
|
||||
info("bitrate: %" PRId64 ", channels: %d, channel_layout: %x\n",
|
||||
enc->context->bit_rate / 1000, enc->context->channels,
|
||||
enc->context->channel_layout);
|
||||
(int64_t)enc->context->bit_rate / 1000,
|
||||
(int)enc->context->channels,
|
||||
(unsigned int)enc->context->channel_layout);
|
||||
|
||||
init_sizes(enc, audio);
|
||||
|
||||
|
@@ -31,9 +31,6 @@
|
||||
#define FF_BLOG(level, format, ...) \
|
||||
FF_LOG_S(s->source, level, format, ##__VA_ARGS__)
|
||||
|
||||
static bool video_frame(struct ff_frame *frame, void *opaque);
|
||||
static bool video_format(AVCodecContext *codec_context, void *opaque);
|
||||
|
||||
struct ffmpeg_source {
|
||||
mp_media_t media;
|
||||
bool media_valid;
|
||||
|
Reference in New Issue
Block a user