From patchwork Fri Dec 6 07:06:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhao Zhili X-Patchwork-Id: 16613 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 4A7A2443E7B for ; Fri, 6 Dec 2019 09:06:38 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 085FC68B5E0; Fri, 6 Dec 2019 09:06:38 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smtpbgeu1.qq.com (smtpbgeu1.qq.com [52.59.177.22]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E5A4F68B5D3 for ; Fri, 6 Dec 2019 09:06:30 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1575615985; bh=UEdKrsgrQdqvtB6J9enDtSrhYcxGPth4nK9Gn3EOY4E=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=ZkblXGL7irFXgoX6zo/ujVuLv+UPn0S9RXoh9sdb1gKv+Z3t3WXo42yElAWJeBeQQ l0a4hVs8Ro++gxtvITBIBtf73CgVz0XTN9jthCw7skNyXKLnvNzg4tQE9pHoDWbK9n 7183ywFHyb0Lbw3d304Fll0MnQFoy62+Tuw6qSKg= X-QQ-mid: esmtp2t1575615982t0h2gdued Received: from ZHILIZHAO-MB1.tencent.com (unknown [14.17.22.53]) by esmtp4.qq.com (ESMTP) with id ; Fri, 06 Dec 2019 15:06:21 +0800 (CST) X-QQ-SSF: 01000000000000N0VG3006000000002 X-QQ-FEAT: iRWFU4nhTyYgwRtiuQFtJQIV4LJHymLbbKr6TlxG/cKb4TMoRuA9y9Q6QG9cz F8Yg7eq5Zfhg1OHgIZ1Tx4K/P1YfZScUAMLkSuKRd9dG+Uz1m2g20uBb1m+MRxosnhy/LFG XCLcZLtX0GxbN+MdcxNd2ezRy3AYIZpMlrfonqn7ZuH0B61eEgVvu50gXat0if2iQICB1wT UvMlRLoxGqPutT8mDZANM66DDQkBd49iweqLDK4xnNu8jfQweJP5LroqCWmFAUOkLRZ34lk F01uLD8NQ0YkzW8oSOAy9DrdMfAZvF+JYpDA== X-QQ-GoodBg: 0 From: quinkblack@foxmail.com To: ffmpeg-devel@ffmpeg.org Date: Fri, 6 Dec 2019 15:06:15 +0800 Message-Id: <20191206070618.42407-1-quinkblack@foxmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: esmtp:foxmail.com:bgforeign:bgforeign12 X-QQ-Bgrelay: 1 Subject: [FFmpeg-devel] [PATCH v2 1/4] avfilter/buffersink: remove unused macros 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 Cc: Zhao Zhili Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Zhao Zhili --- libavfilter/buffersink.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c index 25b3f4ab6b..30153adbb2 100644 --- a/libavfilter/buffersink.c +++ b/libavfilter/buffersink.c @@ -61,8 +61,6 @@ typedef struct BufferSinkContext { } BufferSinkContext; #define NB_ITEMS(list) (list ## _size / sizeof(*list)) -#define FIFO_INIT_SIZE 8 -#define FIFO_INIT_ELEMENT_SIZE sizeof(void *) int attribute_align_arg av_buffersink_get_frame(AVFilterContext *ctx, AVFrame *frame) {