You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
fftools/ffplay: fix typo in frame_queue_destory
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> Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -696,7 +696,7 @@ static int frame_queue_init(FrameQueue *f, PacketQueue *pktq, int max_size, int
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void frame_queue_destory(FrameQueue *f)
|
static void frame_queue_destroy(FrameQueue *f)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < f->max_size; i++) {
|
for (i = 0; i < f->max_size; i++) {
|
||||||
@@ -1252,9 +1252,9 @@ static void stream_close(VideoState *is)
|
|||||||
packet_queue_destroy(&is->subtitleq);
|
packet_queue_destroy(&is->subtitleq);
|
||||||
|
|
||||||
/* free all pictures */
|
/* free all pictures */
|
||||||
frame_queue_destory(&is->pictq);
|
frame_queue_destroy(&is->pictq);
|
||||||
frame_queue_destory(&is->sampq);
|
frame_queue_destroy(&is->sampq);
|
||||||
frame_queue_destory(&is->subpq);
|
frame_queue_destroy(&is->subpq);
|
||||||
SDL_DestroyCond(is->continue_read_thread);
|
SDL_DestroyCond(is->continue_read_thread);
|
||||||
sws_freeContext(is->sub_convert_ctx);
|
sws_freeContext(is->sub_convert_ctx);
|
||||||
av_free(is->filename);
|
av_free(is->filename);
|
||||||
|
Reference in New Issue
Block a user