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

View File

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