From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id AABA9460EB for ; Sat, 2 Sep 2023 23:40:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 659BB68C653; Sun, 3 Sep 2023 02:40:54 +0300 (EEST) Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8BCB668C230 for ; Sun, 3 Sep 2023 02:40:48 +0300 (EEST) Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-1c5451a1fbaso221287fac.1 for ; Sat, 02 Sep 2023 16:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693698046; x=1694302846; darn=ffmpeg.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dyrmaxudAqTk/U97GKQkVN0Vs/7X754W6B4hGe0jxFw=; b=aS5mgKvRudOvFyRGzlod2Z5ihWa3gPpCa4+uHkQHfSn+qkG7vjuv5RutyTWS8hR6S+ 6gJsseR+v6j42m0iXdjNp9EHGql1mU9vPgF5AutzN5h9ycgebZYb7TvdsnqpCaX2d23g 9mYz3S5uKcOFm7j+q0of6rcqrhrMXsx6jg/n10uDZ3l9pqWNEcB6kvLawG8gRi44YaI+ Vn/sx3adv5w3IqIY09kWR0NnErNRQdpgovwwdfMyEF2V4iuEPEhD4r+wg3auuDhbyn+U P+a2rywOaG9GrkrpNaOrxorYtNhFyQ/LGqzT4Tr0Wm900u1KA5WWp8RxpQ1HokTC1vuJ yRBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693698046; x=1694302846; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dyrmaxudAqTk/U97GKQkVN0Vs/7X754W6B4hGe0jxFw=; b=C8qBTv8kv/7dWGXuHz/bVzge66/YdEerQLDEPYln8rE4lILSioeaVcK5M+tyZE4hp7 ddJRQrgz5AOhOnvLY90pckbQL0m8rHuHT6OlxjTkkPRAErciVlMPeWr+5qQorbi/xB/4 uVSqJdUhlTBVpSS07GQJma2wRIFTdkE730Vy1QGpIzy0t5fuKG4ggFIJ48c6WKQTG9+a jfkEZgFq+lsldNG7l0XKvIm1eSu1vWmUbvzDRpyY4PXRijwaEW/Qnooz1AqRGXcyxMpP iWo13q0eYX0o13UDwoxSqufZEGkoBBcu0H4Yj99He08m5aLBor69qaIhgWgRN0Fzfnu7 CPoA== X-Gm-Message-State: AOJu0YwvFSZaiA1mDGXdJTGVJjpRfLbUDTVAyDsCQh9hBnLqR6jNnmIp tpmQ81mblJzdQY022wmQtUgdHztv5Hw= X-Google-Smtp-Source: AGHT+IHl2prXcsVMt3RXlAcqozb2kDg1bW1MFqyHvBsF2O3UacAKnsb3BZs7/hhsa5lEvent7BDgWQ== X-Received: by 2002:a05:6870:15c2:b0:1bb:a891:47fc with SMTP id k2-20020a05687015c200b001bba89147fcmr8054771oad.8.1693698046062; Sat, 02 Sep 2023 16:40:46 -0700 (PDT) Received: from [192.168.0.10] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id z33-20020a4a9864000000b00573c4ea8668sm3457954ooi.47.2023.09.02.16.40.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Sep 2023 16:40:45 -0700 (PDT) Message-ID: <91df9de7-1a91-a12d-aad6-129d8c994c18@gmail.com> Date: Sat, 2 Sep 2023 20:40:45 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH 8/8] all: Replace __FUNCTION__ by __func__ X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 9/2/2023 8:12 PM, Andreas Rheinhardt wrote: > Only the former is valid ISO C. Don't you mean "the latter"? > > Signed-off-by: Andreas Rheinhardt > --- > libavdevice/opengl_enc.c | 2 +- > libavformat/apngdec.c | 2 +- > libavformat/demux.c | 4 ++-- > libavformat/mux.c | 2 +- > 4 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c > index 80feda7072..b2ac6eb16a 100644 > --- a/libavdevice/opengl_enc.c > +++ b/libavdevice/opengl_enc.c > @@ -152,7 +152,7 @@ typedef struct FFOpenGLFunctions { > {\ > GLenum err_code; \ > if ((err_code = glGetError()) != GL_NO_ERROR) { \ > - av_log(ctx, AV_LOG_ERROR, "OpenGL error occurred in '%s', line %d: %d\n", __FUNCTION__, __LINE__, err_code); \ > + av_log(ctx, AV_LOG_ERROR, "OpenGL error occurred in '%s', line %d: %d\n", __func__, __LINE__, err_code); \ > goto fail; \ > } \ > }\ > diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c > index 47cdbfcbfb..8f5f37a2b1 100644 > --- a/libavformat/apngdec.c > +++ b/libavformat/apngdec.c > @@ -274,7 +274,7 @@ static int decode_fctl_chunk(AVFormatContext *s, APNGDemuxContext *ctx, AVPacket > "delay_den: %"PRIu16", " > "dispose_op: %d, " > "blend_op: %d\n", > - __FUNCTION__, > + __func__, > sequence_number, > width, > height, > diff --git a/libavformat/demux.c b/libavformat/demux.c > index b218f64574..b8a7a28c52 100644 > --- a/libavformat/demux.c > +++ b/libavformat/demux.c > @@ -2533,7 +2533,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) > if (codec && !avctx->codec) > if (avcodec_open2(avctx, codec, options ? &options[i] : &thread_opt) < 0) > av_log(ic, AV_LOG_WARNING, > - "Failed to open codec in %s\n",__FUNCTION__); > + "Failed to open codec in %s\n", __func__); > } > if (!options) > av_dict_free(&thread_opt); > @@ -2790,7 +2790,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) > av_dict_set(&opts, "codec_whitelist", ic->codec_whitelist, 0); > if (avcodec_open2(avctx, codec, (options && stream_index < orig_nb_streams) ? &options[stream_index] : &opts) < 0) > av_log(ic, AV_LOG_WARNING, > - "Failed to open codec in %s\n",__FUNCTION__); > + "Failed to open codec in %s\n", __func__); > av_dict_free(&opts); > } > } > diff --git a/libavformat/mux.c b/libavformat/mux.c > index 0cf9ebfc19..6c6c677171 100644 > --- a/libavformat/mux.c > +++ b/libavformat/mux.c > @@ -1120,7 +1120,7 @@ static int write_packet_common(AVFormatContext *s, AVStream *st, AVPacket *pkt, > int ret; > > if (s->debug & FF_FDEBUG_TS) > - av_log(s, AV_LOG_DEBUG, "%s size:%d dts:%s pts:%s\n", __FUNCTION__, > + av_log(s, AV_LOG_DEBUG, "%s size:%d dts:%s pts:%s\n", __func__, > pkt->size, av_ts2str(pkt->dts), av_ts2str(pkt->pts)); > > guess_pkt_duration(s, st, pkt); _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".