From patchwork Mon Dec 30 12:48:38 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: 3419201 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0DE759F3E0 for ; Mon, 30 Dec 2013 12:49:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5B796200F2 for ; Mon, 30 Dec 2013 12:49:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0CDE32010B for ; Mon, 30 Dec 2013 12:49:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755772Ab3L3Mte (ORCPT ); Mon, 30 Dec 2013 07:49:34 -0500 Received: from mail-ee0-f49.google.com ([74.125.83.49]:65454 "EHLO mail-ee0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755736Ab3L3Mt2 (ORCPT ); Mon, 30 Dec 2013 07:49:28 -0500 Received: by mail-ee0-f49.google.com with SMTP id c41so5044739eek.8 for ; Mon, 30 Dec 2013 04:49:26 -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=9LBCzULTFHJBQ2m1wSjgr8y63Whv/X5MhdvWkotTo54=; b=zhWnIWm6BI810sIokEqfKPF2YgH+/ywQcDKVKz8pzFHcXUppPOQNQazFWsOf0eq16E sFMN0F25PeuEX07cL3thqCJSmQUsi7ngf5sGv/KvIp2p+7rUEQtPWvdzlOaIITUawMxj esp7SxyCOqsQq9L0OURyO8D2Vvj/U36x7nQ2SsTji1OPGWCiQbABM7U80F0i3fklJ6/b 1tL0FOzwZezF9DKZyvqdsSt9Jyc2NOG0NIUYZIZ9Ky38n4E4eQ4P+eHijiarQKFSNXVa Kw80skvjhhwIiFdnLsaYRhaolY5XN+4rkW6ycbocZ+L+i1WPLfxn51CHjfGJA0jjQVph SDsQ== X-Received: by 10.14.251.132 with SMTP id b4mr1472472ees.78.1388407766953; Mon, 30 Dec 2013 04:49:26 -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.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 04:49:26 -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 05/18] libdvbv5: fix NIT structures Date: Mon, 30 Dec 2013 13:48:38 +0100 Message-Id: <1388407731-24369-5-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/include/descriptors/nit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/include/descriptors/nit.h b/lib/include/descriptors/nit.h index f2f6163..d71a762 100644 --- a/lib/include/descriptors/nit.h +++ b/lib/include/descriptors/nit.h @@ -48,7 +48,7 @@ struct dvb_table_nit_transport { struct { uint16_t section_length:12; uint16_t reserved:4; - }; + } __attribute__((packed)); }; struct dvb_desc *descriptor; struct dvb_table_nit_transport *next; @@ -61,7 +61,7 @@ struct dvb_table_nit { struct { uint16_t desc_length:12; uint16_t reserved:4; - }; + } __attribute__((packed)); }; struct dvb_desc *descriptor; struct dvb_table_nit_transport *transport;