stream_dvb: Always define NO_STREAM_ID_FILTER if missing.

It is also used for initialization in channel-list setup.
Should fix compilation on FreeBSD, and is more correct
since it is used unconditionally.
Reverts 6445648 .
This commit is contained in:
Oliver Freyermuth 2015-02-28 04:51:05 +01:00 committed by wm4
parent 03a69bac95
commit 40c9e79068
2 changed files with 2 additions and 2 deletions

View File

@ -37,12 +37,12 @@
#ifndef DTV_STREAM_ID
#define DTV_STREAM_ID DTV_ISDBS_TS_ID
#endif
#endif
// This is only defined, for convenience, since API 5.8.
#ifndef NO_STREAM_ID_FILTER
#define NO_STREAM_ID_FILTER (~0U)
#endif
#endif
#if (DVB_API_VERSION == 3 && DVB_API_VERSION_MINOR >= 1) || DVB_API_VERSION == 5
#define DVB_ATSC 1

View File

@ -7,4 +7,4 @@
#include <linux/dvb/frontend.h>
#include <linux/dvb/video.h>
#include <linux/dvb/audio.h>
int main(void) {int a = NO_STREAM_ID_FILTER; return 0;}
int main(void) {return 0;}