diff --git a/libaf/af_mp.c b/libaf/af_mp.c index 9dd4bd372a..d5535acb34 100644 --- a/libaf/af_mp.c +++ b/libaf/af_mp.c @@ -35,7 +35,7 @@ int af_format_decode(int ifmt) case(AFMT_FLOAT): ofmt = AF_FORMAT_F | AF_FORMAT_NE; break; default: - if (ifmt & AFMT_AF_FLAGS == AFMT_AF_FLAGS) { + if ((ifmt & AFMT_AF_FLAGS) == AFMT_AF_FLAGS) { ofmt = ifmt & ~AFMT_AF_FLAGS; break; }