From patchwork Tue Jun 8 17:36:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balint Reczey X-Patchwork-Id: 104990 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o58Hcg3q032512 for ; Tue, 8 Jun 2010 17:38:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755609Ab0FHRh4 (ORCPT ); Tue, 8 Jun 2010 13:37:56 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:43154 "EHLO mail-ew0-f216.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755589Ab0FHRhz (ORCPT ); Tue, 8 Jun 2010 13:37:55 -0400 Received: by ewy8 with SMTP id 8so1197289ewy.28 for ; Tue, 08 Jun 2010 10:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :date:message-id:x-mailer; bh=LrhILAoGO9iEoqnIKtfKm51zC4KUpcm8OZZR0bLKxcY=; b=sR+0Sf4eVdTdNnuL7V5RCZogG2xSLMo+yeLZLWhHLkyzzIm8ZEaCmGhNA8pFY0QT3E i+Oesoea0tV5U0m/V76jS1yjkkMBoofv5pqGvUAInlHz6us8t3JqQEMIx+3GrZkJyd2r V2dTqZwmVGnWzHJHx29F5xHrcSHGov/+PNa0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:date:message-id:x-mailer; b=Z99ob/v2wQtJ7KTO7eYA9M+maROHRQvkWmRrChrIIxrAAa55jILBle6QkPJAv4OMFO ZYB6x2xz6h/qAfL+FSSVKJYnrfS9IaPF7ZmPY96CrrCu7qbkbltkSRugXRAS50WgPPqV s7j1RCV+bRJ9SYcZKJ7x79iYQbfgKXc9cr8vo= Received: by 10.213.27.145 with SMTP id i17mr3769085ebc.95.1276018673673; Tue, 08 Jun 2010 10:37:53 -0700 (PDT) Received: from localhost.localdomain (54007E33.dsl.pool.telekom.hu [84.0.126.51]) by mx.google.com with ESMTPS id 13sm3469236ewy.9.2010.06.08.10.37.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 08 Jun 2010 10:37:51 -0700 (PDT) From: Balint Reczey To: linux-media@vger.kernel.org Cc: Balint Reczey Subject: [PATCH] libv4l1: support up to 256 different frame sizes Date: Tue, 8 Jun 2010 19:36:58 +0200 Message-Id: <1276018618-12162-1-git-send-email-balint@balintreczey.hu> X-Mailer: git-send-email 1.7.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 08 Jun 2010 17:38:42 +0000 (UTC) diff --git a/lib/libv4lconvert/libv4lconvert-priv.h b/lib/libv4lconvert/libv4lconvert-priv.h index 6e880f8..b3e4c4e 100644 --- a/lib/libv4lconvert/libv4lconvert-priv.h +++ b/lib/libv4lconvert/libv4lconvert-priv.h @@ -29,7 +29,7 @@ #define ARRAY_SIZE(x) ((int)sizeof(x)/(int)sizeof((x)[0])) #define V4LCONVERT_ERROR_MSG_SIZE 256 -#define V4LCONVERT_MAX_FRAMESIZES 16 +#define V4LCONVERT_MAX_FRAMESIZES 256 #define V4LCONVERT_ERR(...) \ snprintf(data->error_msg, V4LCONVERT_ERROR_MSG_SIZE, \