Dont allow clients that do not support BASE

Signed-off-by: Jan Vidar Krey <janvidar@extatic.org>
This commit is contained in:
Jan Vidar Krey 2009-04-13 05:31:41 +02:00
parent e49f9d4d30
commit 4c4cb4fb36
1 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,9 @@ static int convert_support_fourcc(int fourcc)
switch (fourcc)
{
case FOURCC('B','A','S','0'): /* Obsolete */
#ifndef OLD_ADC_SUPPORT
return 0;
#endif
case FOURCC('B','A','S','E'):
return feature_base;