From 189649d39ad590602345d049b0ae9c1359fccff6 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 24 Feb 2012 16:25:58 +0400 Subject: [PATCH] libcoolstream/dmx_cs.h: sync header Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6cd7edcbf52a6d5c38bf8b80830b666c803e3432 Author: [CST] Focus Date: 2012-02-24 (Fri, 24 Feb 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- lib/libcoolstream/dmx_cs.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/libcoolstream/dmx_cs.h b/lib/libcoolstream/dmx_cs.h index 8e1304853..b74bb528e 100644 --- a/lib/libcoolstream/dmx_cs.h +++ b/lib/libcoolstream/dmx_cs.h @@ -5,6 +5,7 @@ /* */ /* (C) 2008 CoolStream International */ /* */ +/* $Id:: $ */ /*******************************************************************************/ #ifndef __DEMUX_CS_H_ #define __DEMUX_CS_H_ @@ -14,9 +15,12 @@ #define DEMUX_POLL_TIMEOUT 0 // timeout in ms #define MAX_FILTER_LENGTH 12 // maximum number of filters -#ifndef DMX_FILTER_SIZE -#define DMX_FILTER_SIZE MAX_FILTER_LENGTH + +#ifdef DMX_FILTER_SIZE +#error #endif +#define DMX_FILTER_SIZE MAX_FILTER_LENGTH + #define MAX_DMX_UNITS 4 typedef enum {