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 2436F42AD3 for ; Tue, 12 Apr 2022 22:08:47 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 68EDB68B356; Wed, 13 Apr 2022 01:08:45 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8690E68B2E2 for ; Wed, 13 Apr 2022 01:08:38 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 70601E6ED8 for ; Wed, 13 Apr 2022 00:08:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NlvhNVqTMgl6 for ; Wed, 13 Apr 2022 00:08:36 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id 2CFE7E6EC4 for ; Wed, 13 Apr 2022 00:08:36 +0200 (CEST) Date: Wed, 13 Apr 2022 00:08:36 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: Message-ID: References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 1/5] avcodec/vbn(dec|enc): Remove empty close function 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 Tue, 12 Apr 2022, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/vbndec.c | 6 ------ > libavcodec/vbnenc.c | 6 ------ > 2 files changed, 12 deletions(-) Thanks, all the VBN patches in this series LGTM. Regards, Marton > > diff --git a/libavcodec/vbndec.c b/libavcodec/vbndec.c > index d6f8121e12..916421925d 100644 > --- a/libavcodec/vbndec.c > +++ b/libavcodec/vbndec.c > @@ -176,11 +176,6 @@ out: > return ret; > } > > -static av_cold int vbn_close(AVCodecContext *avctx) > -{ > - return 0; > -} > - > const FFCodec ff_vbn_decoder = { > .p.name = "vbn", > .p.long_name = NULL_IF_CONFIG_SMALL("Vizrt Binary Image"), > @@ -188,7 +183,6 @@ const FFCodec ff_vbn_decoder = { > .p.id = AV_CODEC_ID_VBN, > .init = vbn_init, > FF_CODEC_DECODE_CB(vbn_decode_frame), > - .close = vbn_close, > .priv_data_size = sizeof(VBNContext), > .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SLICE_THREADS, > .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE > diff --git a/libavcodec/vbnenc.c b/libavcodec/vbnenc.c > index 5c855bcd73..0b2c4dced2 100644 > --- a/libavcodec/vbnenc.c > +++ b/libavcodec/vbnenc.c > @@ -132,11 +132,6 @@ static av_cold int vbn_init(AVCodecContext *avctx) > return 0; > } > > -static av_cold int vbn_close(AVCodecContext *avctx) > -{ > - return 0; > -} > - > #define OFFSET(x) offsetof(VBNContext, x) > #define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM > static const AVOption options[] = { > @@ -163,7 +158,6 @@ const FFCodec ff_vbn_encoder = { > .p.priv_class = &vbnenc_class, > .init = vbn_init, > FF_CODEC_ENCODE_CB(vbn_encode), > - .close = vbn_close, > .priv_data_size = sizeof(VBNContext), > .p.pix_fmts = (const enum AVPixelFormat[]) { > AV_PIX_FMT_RGBA, AV_PIX_FMT_RGB24, AV_PIX_FMT_NONE, > -- > 2.32.0 > > _______________________________________________ > 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". > _______________________________________________ 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".