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 EED2246C6B for ; Thu, 6 Jul 2023 19:26:26 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 367C968C74D; Thu, 6 Jul 2023 22:26:24 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9053668C747 for ; Thu, 6 Jul 2023 22:26:17 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 0CE43E8E48 for ; Thu, 6 Jul 2023 21:23:07 +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 j-bDMUV_2Dmd for ; Thu, 6 Jul 2023 21:23:03 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id CA92CE8E47 for ; Thu, 6 Jul 2023 21:23:03 +0200 (CEST) Date: Thu, 6 Jul 2023 21:23:03 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <3169cf0a.5f9d.189241f3e9e.Coremail.liqitong@163.com> Message-ID: References: <3169cf0a.5f9d.189241f3e9e.Coremail.liqitong@163.com> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] fftools/ffplay: Fixed typo in frame_queue_destory 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 Wed, 5 Jul 2023, QiTong Li wrote: > Not sure if the function naming frame_queue_destory is intended because "destory" is not really a word. Changing it to "destroy" makes more sense. > Thanks, will apply. Regards, Marton > Signed-off-by: QiTong Li > --- > fftools/ffplay.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/fftools/ffplay.c b/fftools/ffplay.c > index 663f61d8b2..51cde0d208 100644 > --- a/fftools/ffplay.c > +++ b/fftools/ffplay.c > @@ -696,7 +696,7 @@ static int frame_queue_init(FrameQueue *f, PacketQueue *pktq, int max_size, int > return 0; > } > > -static void frame_queue_destory(FrameQueue *f) > +static void frame_queue_destroy(FrameQueue *f) > { > int i; > for (i = 0; i < f->max_size; i++) { > @@ -1252,9 +1252,9 @@ static void stream_close(VideoState *is) > packet_queue_destroy(&is->subtitleq); > > /* free all pictures */ > - frame_queue_destory(&is->pictq); > - frame_queue_destory(&is->sampq); > - frame_queue_destory(&is->subpq); > + frame_queue_destroy(&is->pictq); > + frame_queue_destroy(&is->sampq); > + frame_queue_destroy(&is->subpq); > SDL_DestroyCond(is->continue_read_thread); > sws_freeContext(is->sub_convert_ctx); > av_free(is->filename); > -- > 2.33.0.windows.2 > _______________________________________________ > 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".