From patchwork Wed Feb 19 00:21:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: rcombs X-Patchwork-Id: 17842 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id EF188448ECF for ; Wed, 19 Feb 2020 02:22:03 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D2B2F68A927; Wed, 19 Feb 2020 02:22:03 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from so254-54.mailgun.net (so254-54.mailgun.net [198.61.254.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C419C680CA3 for ; Wed, 19 Feb 2020 02:21:56 +0200 (EET) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=rcombs.me; q=dns/txt; s=mx; t=1582071717; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-Id: Date: Subject: To: From: Sender; bh=MfspcCqF+NQTD8bSO+A2NHQjdiW4vNJlHd6aC0y5n+A=; b=lthtAXIHH9ePmUcbhy0mr6Q6QoDlXCkGKbUJ4EAdceAAh/ykO3XaGpBlLm1CeTdG9lxN0uu6 NKwWWFbLeY2b9pPPuV6MSZoTJiLMwzNA/uHgCELfLLWLrVjQ1T3fee9QmJNXdAik+oukuHFM ewEKsjhnF1DA6AJunDLFuQ3RAO8= X-Mailgun-Sending-Ip: 198.61.254.54 X-Mailgun-Sid: WyJiZDU1MSIsICJmZm1wZWctZGV2ZWxAZmZtcGVnLm9yZyIsICJiMGJhIl0= Received: from MacBook-Pro.localdomain (Unknown [24.14.135.13]) by mxa.mailgun.org with ESMTP id 5e4c7fa2.7f54cf0189b0-smtp-out-n01; Wed, 19 Feb 2020 00:21:54 -0000 (UTC) From: rcombs To: ffmpeg-devel@ffmpeg.org Date: Tue, 18 Feb 2020 18:21:49 -0600 Message-Id: <20200219002150.27705-2-rcombs@rcombs.me> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200219002150.27705-1-rcombs@rcombs.me> References: <20200219002150.27705-1-rcombs@rcombs.me> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/3] lavf/hlsdec: use public avformat_flush function X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 1f58e745a7..8181a631b6 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -2295,7 +2295,7 @@ static int hls_read_seek(AVFormatContext *s, int stream_index, /* Reset the pos, to let the mpegts demuxer know we've seeked. */ pls->pb.pos = 0; /* Flush the packet queue of the subdemuxer. */ - ff_read_frame_flush(pls->ctx); + avformat_flush(pls->ctx); pls->seek_timestamp = seek_timestamp; pls->seek_flags = flags;