From patchwork Sat Sep 13 21:00:36 2014 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: 4900321 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 2223F9F32B for ; Sat, 13 Sep 2014 20:57:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F180201D3 for ; Sat, 13 Sep 2014 21:01:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7FAAF201C0 for ; Sat, 13 Sep 2014 21:01:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752137AbaIMVA7 (ORCPT ); Sat, 13 Sep 2014 17:00:59 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:50375 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752034AbaIMVA7 (ORCPT ); Sat, 13 Sep 2014 17:00:59 -0400 Received: by mail-wg0-f46.google.com with SMTP id n12so2253490wgh.29 for ; Sat, 13 Sep 2014 14:00:57 -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:mime-version:content-type :content-transfer-encoding; bh=42o9rzDOcPGuo2oPxUgJxINHM9swf4jBUkbWaajkAv4=; b=LV5XTzqOVIeRifRyDMilWb1cD7X2ZgpYqk8QHrIQWV3GzZM/zRnn7KBTabkJpdi/Di e1Zsm/I2LozaczFo1nl2wIuzMoX9pxE2cPrnRqVUBlVAZBGPW3dIuxp4RTZ41EmbYFEJ m4sEnQah1wl7sbzAHL20QU5F4Cr8XnKX9eSubM+U58xHOd8Ecveg1Gy3MsZLUWWviKQj H+CPL63gBAglSoNK3hWi5O1TBbnOgE2KfXyt6V0H/Wz32Aj1eL6nc0QbmaZPRKzzi75N MgPE3WQiJjVY6JOu9VSeHe0/outF46p/JLxT0pzby5GX9W7C1ku4S6CzCR7cXz9ezMz1 NOtw== X-Received: by 10.194.61.99 with SMTP id o3mr21739123wjr.103.1410642056962; Sat, 13 Sep 2014 14:00:56 -0700 (PDT) Received: from neutrino.exnihilo (162-27.194-178.cust.bluewin.ch. [178.194.27.162]) by mx.google.com with ESMTPSA id fy4sm5981569wib.22.2014.09.13.14.00.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 13 Sep 2014 14:00:56 -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] libdvbv5: fix dvb_fe_dummy() Date: Sat, 13 Sep 2014 23:00:36 +0200 Message-Id: <1410642036-26083-1-git-send-email-neolynx@gmail.com> X-Mailer: git-send-email 1.9.1 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=-9.3 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 initialize the parms structure correctly Signed-off-by: André Roth --- lib/libdvbv5/dvb-fe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libdvbv5/dvb-fe.c b/lib/libdvbv5/dvb-fe.c index 6745694..f733b27 100644 --- a/lib/libdvbv5/dvb-fe.c +++ b/lib/libdvbv5/dvb-fe.c @@ -43,6 +43,9 @@ struct dvb_v5_fe_parms *dvb_fe_dummy() if (!parms) return NULL; parms->p.logfunc = dvb_default_log; + parms->fd = -1; + parms->p.default_charset = "iso-8859-1"; + parms->p.output_charset = "utf-8"; return &parms->p; }