From patchwork Mon Dec 30 12:48:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Roth?= X-Patchwork-Id: 3419291 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 30AA8C02DC for ; Mon, 30 Dec 2013 12:50:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2CD95200ED for ; Mon, 30 Dec 2013 12:50:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6C1F6200F2 for ; Mon, 30 Dec 2013 12:50:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755829Ab3L3Mtv (ORCPT ); Mon, 30 Dec 2013 07:49:51 -0500 Received: from mail-ee0-f49.google.com ([74.125.83.49]:49092 "EHLO mail-ee0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755619Ab3L3Mtc (ORCPT ); Mon, 30 Dec 2013 07:49:32 -0500 Received: by mail-ee0-f49.google.com with SMTP id c41so5057096eek.36 for ; Mon, 30 Dec 2013 04:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=Dkc5t1/a8iLK/eDA/Wk3X4CYiuXX3zifV6GRGa0GFes=; b=VqaB2eTipUu0xOAFi1G72Pc6ZUsIF/5dR6F1GUHh6VNA2Kn0f4oG8VupmxjLYWt+Zb Kbn0ejCOuvrzEWw+/iRrtFgu/sFNhvSU7x46FJa1117IGY7eZZpzPBBbhIy8MUtpj//i DCDylrDG86C8pV2urhsUK88u+2rNuQ505dK69bum67MlhL9lBdBooY8qf50O9UoTOZyi op/vddGE+kJ0UJ2LyXYvxI3tGOizWmuqExEhUnd8WAsExzGtXr8rRtxu4rQ5X6g9n9CZ jap36nHDuLt7huvJsiA6fci1FADzMxq1AiCBe3NZ83ExPDsvMVKhMirKUUagxgkgCSdO iDSg== X-Received: by 10.15.33.199 with SMTP id c47mr1437450eev.109.1388407771668; Mon, 30 Dec 2013 04:49:31 -0800 (PST) Received: from neutrino.exnihilo (140-227.61-188.cust.bluewin.ch. [188.61.227.140]) by mx.google.com with ESMTPSA id z42sm108428856eeo.17.2013.12.30.04.49.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 04:49:31 -0800 (PST) From: =?UTF-8?q?Andr=C3=A9=20Roth?= To: linux-media@vger.kernel.org Cc: =?UTF-8?q?Andr=C3=A9=20Roth?= Subject: [PATCH 11/18] libdvbv5: cleanup coding style Date: Mon, 30 Dec 2013 13:48:44 +0100 Message-Id: <1388407731-24369-11-git-send-email-neolynx@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1388407731-24369-1-git-send-email-neolynx@gmail.com> References: <1388407731-24369-1-git-send-email-neolynx@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: André Roth --- lib/libdvbv5/descriptors.c | 2 +- lib/libdvbv5/descriptors/mpeg_pes.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libdvbv5/descriptors.c b/lib/libdvbv5/descriptors.c index 226349e..f46aa4a 100644 --- a/lib/libdvbv5/descriptors.c +++ b/lib/libdvbv5/descriptors.c @@ -1359,6 +1359,6 @@ void hexdump(struct dvb_v5_fe_parms *parms, const char *prefix, const unsigned c for (i = strlen(hex); i < 49; i++) strncat(spaces, " ", sizeof(spaces)); ascii[j] = '\0'; - dvb_log("%s %s %s %s", prefix, hex, spaces, ascii); + dvb_log("%s%s %s %s", prefix, hex, spaces, ascii); } } diff --git a/lib/libdvbv5/descriptors/mpeg_pes.c b/lib/libdvbv5/descriptors/mpeg_pes.c index 1b518a3..98364a3 100644 --- a/lib/libdvbv5/descriptors/mpeg_pes.c +++ b/lib/libdvbv5/descriptors/mpeg_pes.c @@ -33,7 +33,7 @@ void dvb_mpeg_pes_init(struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_ bswap32(pes->bitfield); bswap16(pes->length); - if (pes->sync != 0x000001 ) { + if (pes->sync != 0x000001) { dvb_logerr("mpeg pes invalid"); return; }