From patchwork Fri Sep 29 00:28:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 5334 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.61.197 with SMTP id n188csp168693jan; Thu, 28 Sep 2017 17:29:12 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCzFWN9cbC99UNYImr8zbdL+HdT3hZdAu6QUIoQm4iM94+nD8+TSyf/RoFJfiZY+ZdFPZLn X-Received: by 10.223.188.83 with SMTP id a19mr3220024wrh.44.1506644952014; Thu, 28 Sep 2017 17:29:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506644951; cv=none; d=google.com; s=arc-20160816; b=b4AKKmOlrNHEn2TEI5HnmHvZw+3odmEGxf5E8zRuime8VhTRnRKWmSNG326opTBCJw YbkCaoh75SEBScRHmvRmIUrxRKcX0VPFA4i8md5605STvcAHC4GYu1bun07WkO/4OpsW tN/w8ep2uO85NXrI3J6YuUr59dXYooR6Ea4SqRYog53DYz6G8EsjcrpmY2V6g9fYZNnu bvwEOg8s43VvXjWp2Pt/axAC0a/DMZt/YOj8GeZgyXmEMWoKpCOVnGT4C3Z84d05/sso OJIodmSQXNXIGBwDE/xk2/3zzaSFkhZdBjbJz6FPbtjfgNRJ4UNHvtIaEP68iz83tuB3 KxUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=6Ilc+FEcojka0PBJ/SQzjipqKrPopPsim7XG2s42xy4=; b=BOaeJ3DVWy6B4bTJvAuS9FGexdBqqIe4i2ti0Y92GkGUgxDJmHTjCVqtkWMkVPbZ/C 2LskgsbfPR/eUV+JE8LAie3hWoCl7MqMdTSKsjMwSKEBU6VDDXV4YqOd0bZXpjS6y7w0 cuCMc8WXoSnMIM+TnxAcKAsJJssfBlsVUcdlqrRBX/fOBXd/5O1129V9MUhqFlc+jNFZ NEm29p1/MnJcR8iGJq+5VXyq5ajczzDXbEIo99Bmj7053w8XnSohh4m1Wct5PCm0EYwl JeH3xN15BIVA6OphPKcehzC2q3wy7oi7W33YAR/K8cWzVqn/5opyKahVHa4rlcJe4QnP PUTw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id p6si1766796wmf.274.2017.09.28.17.29.11; Thu, 28 Sep 2017 17:29:11 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 60287689A33; Fri, 29 Sep 2017 03:28:54 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-qmta-pe02-2.mx.upcmail.net (vie01a-qmta-pe02-2.mx.upcmail.net [62.179.121.182]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 50DE96899B7 for ; Fri, 29 Sep 2017 03:28:47 +0300 (EEST) Received: from [172.31.218.37] (helo=vie01a-dmta-pe03-1.mx.upcmail.net) by vie01a-pqmta-pe02.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1dxjAq-0008Fb-7X for ffmpeg-devel@ffmpeg.org; Fri, 29 Sep 2017 02:29:00 +0200 Received: from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01) by vie01a-dmta-pe03.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1dxjAk-0002ZN-Ra for ffmpeg-devel@ffmpeg.org; Fri, 29 Sep 2017 02:28:54 +0200 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe01 with SMTP @ mailcloud.upcmail.net id FCUm1w01Z0S5wYM01CUneH; Fri, 29 Sep 2017 02:28:47 +0200 X-SourceIP: 213.47.41.20 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Fri, 29 Sep 2017 02:28:43 +0200 Message-Id: <20170929002844.27477-2-michael@niedermayer.cc> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20170929002844.27477-1-michael@niedermayer.cc> References: <20170929002844.27477-1-michael@niedermayer.cc> Subject: [FFmpeg-devel] [PATCH 2/3] avcodec/v4l2_context: Reduce spelling variations 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Michael Niedermayer --- libavcodec/v4l2_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c index d675c55f2b..297792f871 100644 --- a/libavcodec/v4l2_context.c +++ b/libavcodec/v4l2_context.c @@ -112,7 +112,7 @@ static inline void v4l2_save_to_context(V4L2Context* ctx, struct v4l2_format_upd } /** - * returns 1 if reinit was succesful, negative if it failed + * returns 1 if reinit was successful, negative if it failed * returns 0 if reinit was not executed */ static int v4l2_handle_event(V4L2Context *ctx) @@ -266,7 +266,7 @@ static V4L2Buffer* v4l2_dequeue_v4l2buf(V4L2Context *ctx, int timeout) return NULL; } if (ret) { - /* if re-init was successfull drop the buffer (if there was one) + /* if re-init was successful drop the buffer (if there was one) * since we had to reconfigure capture (unmap all buffers) */ return NULL;