From patchwork Fri Jul 6 19:23:08 2012 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: 1167151 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 9B8713FC2A for ; Fri, 6 Jul 2012 19:30:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757942Ab2GFTXz (ORCPT ); Fri, 6 Jul 2012 15:23:55 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:50302 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755814Ab2GFTXy (ORCPT ); Fri, 6 Jul 2012 15:23:54 -0400 Received: by werb14 with SMTP id b14so6568003wer.19 for ; Fri, 06 Jul 2012 12:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=OqUo9lrxbCnGUpnvkiMd8Vi55tMvjjobIYftWAfAYXI=; b=bBnQvdAYwDoilmyhlc4iyWxUrT50Q7nXQT/d16WTzFrN1ndVpVRJr6+dpbRIW4dPCD Q5y63zgngohisgYr88js8mwFbI9n+kFs2UruMJrQNxSU/WaG+R7gyoP97Amup49HMLey +AvLlDhIdSlMhLqgzmyGnxWN/oxQp3KJVKpKS389sv/dCYu990cHRyTz5CCagSr33uTQ vKYCIKU2Bv9JX4gSxdfpHifEuLPWS2ZBGlETKh6ZV26h8RLMEaUucDxGdeQ6r+EJHgXv oFR97w8JR0cWffEqpHjObVvmzokQQR5pqU4IDyBdnv/LYHf0ACAGMzS0z3bvbN1XhZvt 7zsw== Received: by 10.216.213.22 with SMTP id z22mr11857740weo.184.1341602633304; Fri, 06 Jul 2012 12:23:53 -0700 (PDT) Received: from localhost.localdomain (104-38.60-188.cust.bluewin.ch. [188.60.38.104]) by mx.google.com with ESMTPS id w10sm11052218wix.9.2012.07.06.12.23.51 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jul 2012 12:23:52 -0700 (PDT) From: =?UTF-8?q?Andr=C3=A9=20Roth?= To: linux-media@vger.kernel.org Cc: =?UTF-8?q?Andr=C3=A9=20Roth?= Subject: [PATCH 1/5] libdvbv5: Fix dvb-file USER CMD Date: Fri, 6 Jul 2012 21:23:08 +0200 Message-Id: <1341602592-29508-1-git-send-email-neolynx@gmail.com> X-Mailer: git-send-email 1.7.2.5 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Signed-off-by: André Roth --- lib/libdvbv5/dvb-file.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libdvbv5/dvb-file.c b/lib/libdvbv5/dvb-file.c index 5ab0d97..ea9caa0 100644 --- a/lib/libdvbv5/dvb-file.c +++ b/lib/libdvbv5/dvb-file.c @@ -387,7 +387,7 @@ static int fill_entry(struct dvb_entry *entry, char *key, char *value) break; } if (i < ARRAY_SIZE(dvb_v5_name)) { - const char * const *attr_name = dvb_v5_attr_names[i]; + const char * const *attr_name = dvb_attr_names(i); n_prop = entry->n_props; entry->props[n_prop].cmd = i; if (!attr_name || !*attr_name) @@ -412,7 +412,7 @@ static int fill_entry(struct dvb_entry *entry, char *key, char *value) break; } if (i < ARRAY_SIZE(dvb_user_name)) { - const char * const *attr_name = dvb_user_attr_names[i]; + const char * const *attr_name = dvb_attr_names(i); n_prop = entry->n_props; entry->props[n_prop].cmd = i + DTV_USER_COMMAND_START; if (!attr_name || !*attr_name)