From 8fe2af09f18d83986d39961ce3469fa8857607d7 Mon Sep 17 00:00:00 2001 From: llyyr Date: Sat, 20 Jan 2024 00:15:30 +0530 Subject: [PATCH] common: stream: don't mention Libav in errors/warnings --- common/av_log.c | 2 +- common/encode_lavc.c | 4 ++-- stream/stream_lavf.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/av_log.c b/common/av_log.c index 2090c80586..54b78a617d 100644 --- a/common/av_log.c +++ b/common/av_log.c @@ -82,7 +82,7 @@ static struct mp_log *get_av_log(void *ptr) if (!avc) { mp_warn(log_root, "av_log callback called with bad parameters (NULL AVClass).\n" - "This is a bug in one of Libav/FFmpeg libraries used.\n"); + "This is a bug in one of FFmpeg libraries used.\n"); return log_root; } diff --git a/common/encode_lavc.c b/common/encode_lavc.c index 898545de50..ade801e5a0 100644 --- a/common/encode_lavc.c +++ b/common/encode_lavc.c @@ -870,8 +870,8 @@ bool encoder_init_codec_and_muxer(struct encoder_context *p, " ********************************************\n\n" "This means the output file may be broken or bad.\n" "Possible reasons, problems, workarounds:\n" - "- Codec implementation in ffmpeg/libav is not finished yet.\n" - " Try updating ffmpeg or libav.\n" + "- Codec implementation in ffmpeg is not finished yet.\n" + " Try updating ffmpeg.\n" "- Bad picture quality, blocks, blurriness.\n" " Experiment with codec settings to maybe still get the\n" " desired quality output at the expense of bitrate.\n" diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c index c153ddd4a2..a471c086e5 100644 --- a/stream/stream_lavf.c +++ b/stream/stream_lavf.c @@ -324,7 +324,7 @@ static int open_f(stream_t *stream) if (err < 0) { if (err == AVERROR_PROTOCOL_NOT_FOUND) MP_ERR(stream, "Protocol not found. Make sure" - " ffmpeg/Libav is compiled with networking support.\n"); + " FFmpeg is compiled with networking support.\n"); goto out; }