* [FFmpeg-devel] [PATCH] fftools/ffplay: Fixed typo in frame_queue_destory
@ 2023-07-05 3:36 QiTong Li
2023-07-05 3:39 ` Steven Liu
2023-07-06 19:23 ` Marton Balint
0 siblings, 2 replies; 3+ messages in thread
From: QiTong Li @ 2023-07-05 3:36 UTC (permalink / raw)
To: ffmpeg-devel
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.
Signed-off-by: QiTong Li <liqitong@163.com>
---
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".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] fftools/ffplay: Fixed typo in frame_queue_destory
2023-07-05 3:36 [FFmpeg-devel] [PATCH] fftools/ffplay: Fixed typo in frame_queue_destory QiTong Li
@ 2023-07-05 3:39 ` Steven Liu
2023-07-06 19:23 ` Marton Balint
1 sibling, 0 replies; 3+ messages in thread
From: Steven Liu @ 2023-07-05 3:39 UTC (permalink / raw)
To: FFmpeg development discussions and patches
QiTong Li <liqitong@163.com> 于2023年7月5日周三 11:36写道:
>
> 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.
>
> Signed-off-by: QiTong Li <liqitong@163.com>
> ---
> 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".
LGTM
Thanks
_______________________________________________
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".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] fftools/ffplay: Fixed typo in frame_queue_destory
2023-07-05 3:36 [FFmpeg-devel] [PATCH] fftools/ffplay: Fixed typo in frame_queue_destory QiTong Li
2023-07-05 3:39 ` Steven Liu
@ 2023-07-06 19:23 ` Marton Balint
1 sibling, 0 replies; 3+ messages in thread
From: Marton Balint @ 2023-07-06 19:23 UTC (permalink / raw)
To: FFmpeg development discussions and patches
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 <liqitong@163.com>
> ---
> 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".
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-06 19:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-05 3:36 [FFmpeg-devel] [PATCH] fftools/ffplay: Fixed typo in frame_queue_destory QiTong Li
2023-07-05 3:39 ` Steven Liu
2023-07-06 19:23 ` Marton Balint
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git