From patchwork Thu Aug 31 23:11:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "pkv.stream" X-Patchwork-Id: 4931 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.15.201 with SMTP id 70csp104949jao; Thu, 31 Aug 2017 16:12:10 -0700 (PDT) X-Received: by 10.28.105.157 with SMTP id z29mr253713wmh.135.1504221130363; Thu, 31 Aug 2017 16:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504221130; cv=none; d=google.com; s=arc-20160816; b=khel359EPISMqpksUJrgcrT6F1bhnA1Hkq0j32JQ03n0d9PXKAvHW1+DNltX/o4o/O iu3AWHngWGY4LyzM0y39PjWmS5pRMAMkiKAqljmB/vI5gIXH0FfPR5K51EKzwoK0u4pu R0h5h0N8ingX2PujUSqQxGt8Brvuf+uy78tmUJznIapg8SH+G4Hr//v4b/5foqTNyNFh LmIas4d4wJd43nWsl7Weac+i20ILy6wL3H6MwdpC/IUCZ7zZE8x4N+t3BEviHD3TR7Vy gVWlG+OsOsYIQhSpvFmOL4k9gxqZTijoQdNdYf5DsmbnY3rhMMAYXcXb0CQ0Pm0tPc82 u0xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject :content-language:mime-version:user-agent:date:message-id:from:to :dkim-signature:delivered-to:arc-authentication-results; bh=B2xnhT70r8q9p2vSsfAkqjriBjXjz+1yJKjK5Bi+04w=; b=uOviTqG1eutTTzde1VjzQGMFx/i/mmfms9GWxRFOJTuJHoISiMJ6Ur8pabNKHWmO7Y 1qTA+H18T/TshpA3G0dKAV49Z+Wr7UMN3by/8bczvVdwPXo4dZXnK0XAA8kJbJOklvJi EYhnMroINgPdxbkcR1F4Y5oClzusHUwgtCc9UOWK5xHnIo8rZW7b3t1kK5fHO1llei+e bvOOwWOF1vbOrkL3M80pZeMHX1fHg0PpqQsqTJ+Pe6/vxl6nPlIyPXLjvOmUqI9yQEC7 G0UOo7W1mOXNmCtQZNy5Tgqs+wV4B4b2wqVvFk5ihh1agz1dk3dv3NqFm6toeZB6Dg6O tSzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=HpYAMTSQ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id u189si869350wmd.157.2017.08.31.16.12.09; Thu, 31 Aug 2017 16:12:10 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=HpYAMTSQ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CD93C68A288; Fri, 1 Sep 2017 02:12:06 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3C210689B3D for ; Fri, 1 Sep 2017 02:12:00 +0300 (EEST) Received: by mail-wr0-f175.google.com with SMTP id z91so2593731wrc.1 for ; Thu, 31 Aug 2017 16:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=miTuGvEzV0Y6V9BSE62fQCKKUp9Wk+KoaILR7DbBJPY=; b=HpYAMTSQAc1YDqUp6F52Gc9motC31jE608YhrnFDpL6DPKS2+12xenYfUYdelj99hW UlBH2+9l7a+lb3Bh6YCBcTIcg+9dbEsGxf9iNnSWsQwLNsojICGcV9FvGQPibblRfZVS Be5hO+d3Kx8mu2s2v1fWorkdtaqnJvP99o90plJwE6DE/mWbKdl7NDa7eaznkQrei+oh 7oO7g7THX3iOFf+Y1acjTy349YGM8Noyb52ZYq45MQH2heyOJf4hvbwkKyDmkDlpj1Iv dY41wxPvkSXHlQy1z3IMHBdYwqW76KG2X/Yyf9RntvW+5y3f2kPM/hqithlNNELrvSBR kQmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=miTuGvEzV0Y6V9BSE62fQCKKUp9Wk+KoaILR7DbBJPY=; b=r+eUV5pncGAvPCfz1UDBQsQmLcpL/6Do7NSdgEi+FVPGZk/ykx0PT0QhmVQi2lRJD7 2VVsO5dFv2t9zxjv4OgCjs9INxUm4UMRPHRA954nbmXqtVXjVah7aWXotuhjBTjpIdUR Z6tnh/ezXIAhHKQAOLOE3rXS7at2HwrkwlLEp2WLVT/WK8TB0oEpi5bPu17elfRIfQCa 2t/V23HMjcXBnDNV9uikLUnLJ6SqAMBBQe+1HOAxfee50AVFqddlsPVwGRQwkb1/jpZ5 1OaQUYOfZ89bRfhbEzBHAGzfgWp+VAyP/vucf6ph8b6KBzt9UujqcTdTpPSX9ADobEmE KEsA== X-Gm-Message-State: AHPjjUhzXYgkDzKgrBypkWYW/mHtbZ75gBJm1fbx3gwVYMjDnI73gKXU r0L06YCE9CiJ9ATH X-Google-Smtp-Source: ADKCNb7Or2LgB3TwfWBNoGxyxhGel+jCDefPI6f9ZgtA8LofDIgWjZDKWFviSensMiuz4CSggAwErg== X-Received: by 10.223.184.230 with SMTP id c35mr25051wrg.262.1504221120727; Thu, 31 Aug 2017 16:12:00 -0700 (PDT) Received: from [192.168.0.2] ([176.159.7.188]) by smtp.googlemail.com with ESMTPSA id 95sm701088wrm.33.2017.08.31.16.12.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Aug 2017 16:12:00 -0700 (PDT) To: ffmpeg-devel@ffmpeg.org From: "pkv.stream" Message-ID: <6a7fb794-cf5d-07bf-0635-133e1f0bc73b@gmail.com> Date: Fri, 1 Sep 2017 01:11:57 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Language: fr Subject: [FFmpeg-devel] [PATCH 2/2] avocdec/libopus: fix typo 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" small typo fix From 5dabf59f9f070c7d23da03979f06c136fa6817b4 Mon Sep 17 00:00:00 2001 From: pkviet Date: Fri, 1 Sep 2017 00:44:11 +0200 Subject: [PATCH 2/2] avocdec/libopus: fix typo --- libavcodec/libopusenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c index c40fcde..77d8310 100644 --- a/libavcodec/libopusenc.c +++ b/libavcodec/libopusenc.c @@ -368,7 +368,7 @@ static av_cold int libopus_encode_init(AVCodecContext *avctx) goto fail; } - /* Header includes channel mapping table if and only if mapping family is 0 */ + /* Header includes channel mapping table if and only if mapping family is NOT 0 */ header_size = 19 + (mapping_family == 0 ? 0 : 2 + avctx->channels); avctx->extradata = av_malloc(header_size + AV_INPUT_BUFFER_PADDING_SIZE); if (!avctx->extradata) {